[PATCH 6.1 27/86] drm/i915/pmu: Check if pmu is closed before stopping event