Platform: Clean up uart_stdout

Details:
 - Change the functions used to redirect standard output to UART not to
   be declared as weak symbol. These symbols are declared as weak in the
   standard library. They are intended to be "overridden" by the
   application. And the application in this case is TF-M.
 - Remove uart_putc from uart_stdout.h because it should only be used
   from uart_stdout.c. All writes to UART should happen through library
   functions that are writing to standard out.
 - Remove uart_getc as it is not used.
 - Add comments
 - Fix coding style issues

Change-Id: Ia042cd9104bf1a0f68c028dbe4b6c14e6df05a46
Signed-off-by: Mate Toth-Pal <mate.toth-pal@arm.com>
2 files changed