[PATCH openEuler-1.0-LTS v4 234/292] intel_th: msu: Factor out pipeline draining