[AVR32] Use ARRAY_SIZE macro when appropriate