Fixed decoder shutdown freeze with MPEG TS h.264 content and qtquick2videosink

When setting pipeline to NULL it gets stuck in the imxvpudec. Hooking
into the state change on PAUSED to READY by calling gst_imx_vpu_dec_flush()
solves the issue.