mp4_lsmash: Use new I/O API instead of deprecated one.