AVR32: optimisations for intreadwrite.h