bsp/leon3: Fix interrupt-driven console driver
bsp/leon3: Avoid copy and paste in console driver
bsp/leon3: Console driver changes

Move declaration of global variables and functions to <leon.h> header
file.  Make several global variables and functions static.