Fix GCC warnings

Thanks to Erkki Moorits.
Change return value usart_putc()

Changed from char to int. Thanks to Erkki Moorits for pointing this out.