Fix compilation issues in avr32/lcd.c