Bug 985182 - Only assert that we aren't operating in the self-hosted global for cross- (not same-) compartment wrappers. (r=bhackett)