altos: Need to use 16-bit counts for ao_xmem functions