Shift load_cape to variant.cpp

Shifted load_cape to variant.cpp since it is a beaglebone specific
function.