Added device regions/irqs pointers initialization

When freeing the device structures with irqs not tested
(no -i|--test-irq argument), the irqs pointer was erroneously freed.