mpegtsmux: Avoid crash when best pad gets flushed
Copied from https://gitlab.freedesktop.org//gstreamer/gst-plugins-bad/-/merge_requests/1548
The 'best' pad might receive a flush event between us picking it and us popping the buffer. In this case, the buffer will be missing.
Similar to gst-plugins-good!711 (merged)