altos: Allow building with newlib + avr stdio on ARM