[PATCH openEuler-5.10 134/582] media: st-hva: Fix potential NULL pointer dereferences