[GPIO] prepare gpio event fetching function for critical section to prevent race with interrupt handler
[FRDM-KL25Z] zero bss section in c code instead of asm to support more ARM flavors