GenericI2CSensor: do not fail compilation without PIOS_I2C_INCLUDE

This module makes the code not compile without the I2C include flag.
Now it will fail to start the module and fixes the compilation
errors.

Not sure if we want to add all those hooks in there but I'm not totally sure how else to fix it.