Moved initVariant weak attribute to Arduino.h

This is part of a fix to remove compiler warnings from the core.