[AVR32] Implement irqflags trace and lockdep support