Create an offsets table as part of each class implementation instance.  This
tells us the offset from the beginning of an instance to the beginning of each
base class instance.  This is the first step to fix casting from a
non-primary base class.