Merge pull request #1340 from Andre-ARM/sec-irqs-fixes

Fix support for systems without secure interrupts