Updated pin functions for LPC43xx.
Removed global pinKeyValid function, added platform-dependent pinGpioValid.
Fixed control register calculations.
Added workaround for pure analog and special I2C0 pins.
Input glitch filter state now depends on selected slew rate. When fast
slew rate is selected, glitch filter is disabled.