Move logger_init/logger_deinit to frontend_console.c and out
of platform implementations