Fixed mbed analogin HAL for internal channels and added calibration.

- Only applies to K22 and K64 mbed HALs.