Allow variants to define an initVariant() function that is called at startup

Following #2080, this is a way to allow "variants" to define an initVariant() function (in a file called pins_arduino.cpp for example).

/cc @matthijskooijman @vicatcu