Conditionally build printk functions based on USART availability

TODO: Make printk print out of stderr, not always USART.
Add Kconfig options for stdout/stderr

Since they are set globally with Kconfig options, chip.c can be removed,
and default resources can be defined in resource.c.
Remove old comment