[PATCH 6.0 378/862] drm/bridge: megachips: Fix a null pointer dereference bug