gpio: determine pi revision at runtime and select corresponding GPIO pins
add new API function gpioGetI2cPin()
i2c: use gpioGetI2cPin() instead of defines