console: move for_each_console to linux/console.h