Shift load_cape to variant.cpp

The load_cape function is exclusive to the Beaglebone and hence belongs
to variant.cpp