cli: Use memory-mapped input frames for yuv and y4m