Updates to peripherals for st3700 platform
Added null check to GPIO irq.
Also included debug message to help with identifying unattached IRQs