[PATCH 6.12 123/146] drm/sti: avoid potential dereference of error pointers