gst-utils: prevent dead lock when requesting key unit
Sending the UpstreamForceKeyUnitEvent using gst_element_send_event() internally takes the state lock. If appsink is pre-rolling we are also holding the preroll lock.
This may result in a dead lock with the thread doing the state change as this one takes the state lock and then the pre-roll lock.