[PATCH 4.19 119/639] drm: Fix error handling in drm_legacy_addctx