Bug 950458 - Emit type barrier for derived typed objects r=jandem