[PATCH 6.6 667/676] drm/sti: avoid potential dereference of error pointers in sti_hqvdp_atomic_check