[CORE] stdio: Add support for early prints.

arch_defterm_early_putc does prints to early console.
The console can be setup using the early_params patch
sent earlier. early prints are used only when architecture
defines ARCH_HAS_DEFTERM_EARLY_PRINT

Signed-off-by: Himanshu Chauhan <hschauhan@nulltrace.org>
Signed-off-by: Anup Patel <anup@brainfault.org>