[corlib] Workaround boostrap issue with HostProtectionAttribute