[PATCH 5.13 171/800] media: st-hva: Fix potential NULL pointer dereferences