[PATCH 5.16 0196/1039] media: venus: core: Fix a potential NULL pointer dereference in an error handling path