avformat/movenc: Check that pkt duration is within 32bit range