Fixed default GPIO functions calculation.
Fixed calculation of the default GPIO functions for LPC11xx and LPC13xx.