[PATCH openEuler-5.10 v2 114/548] media: venus: core: Fix a potential NULL pointer dereference in an error handling path