(Libretro) Make it possible to optionally compile in libavformat,
libavutil, libswscale, libswresample