Add support for the SYS_WRITEC semihosting operation.

This is implemented in the same manner as QEMU semihosting
support, specifically, a SYS_WRITEC results in a single
character write to STDERR.