In the trick mode, driver may queue a valid buffer follow by an empty buffer which has no valid data to indicate EOS.For the empty buffer whose memory is multi-plane, need to resize it before unreference it. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2731>