gpio_drv: prevent copy of non-copyable objects

Follow up fix for commit 0b7ea4abab
Ref #1093
hw: of by one bug when determining the last IRQ
Enable and maintain l2 cache
hw arm_v6: implement missing processor functions