Add nacl_io.cpp

Add nacl-specific version of halide_printf, to workaround variant
linker errors wrt stderr and friends under newlib (vs glibc)