Parts may emit bus messages that want to take the splitmuxsrc lock and prevent the downward state change. Avoid a deadlock after a part sends an error message by taking a ref and dropping the lock around the unprepare call Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7053>