write() can have internal linkage.

read() is still called from apu.cpp (to implement OAM DMA).