Add log level support for libretro cores.