[PATCH 5.0 032/346] media: serial_ir: Fix use-after-free in serial_ir_init_module