[PATCH 6.1 504/772] drm/sti: avoid potential dereference of error pointers