fmp4mux: Consider invalid running times as zero and before anything else
The code tried to do this before but didn't consider the case where the first pad has a valid running time, in which case the buffer with the invalid running time would never be dequeued and the muxer would never output anything.