Add some nifty shit to stdio.s.

Adds print and fread functions, both of which read NUL-terminated
strings. print writes them using the character output device, and
fread reads them from the block device to a region of memory.