Clean up console driver

Instead of multiple arrays, the console driver now uses a single array
of type `struct console' to maintain console state.