lavf/movenc: add get_moov_size and use it in fragment code.