avformat/rawenc: perform stream checks for mp2 muxer