libavsmash: Fix resampling the number of PCM audio samples when no start offset.