[cleanup] Merge common code in IrTypeStruct::get() and IrTypeClass::addBaseClassData()
Fix issue 726: Wrong alignment for struct fields on x86_64/amd64