[PATCH 4.19 066/421] media: st-hva: Fix potential NULL pointer dereferences