ARC: Add support for irqflags tracing and lockdep