[PATCH 6.1 502/772] drm/sti: avoid potential dereference of error pointers in sti_hqvdp_atomic_check