[PATCH 6.17 082/371] drm/xe/hw_engine_group: Fix double write lock release in error path