Fix nacl_dyncode include
Allow TrySetApartmentState to set the same state multiple times.

License: This patch is under the MIT/X11 license.
Merge pull request #705 from alesliehughes/master

Allow TrySetApartmentState to set the same state multiple times.
Merge pull request #706 from elijahtaylor/fixdyncode

Fix nacl_dyncode include
Fix a warning.
Add support for a simple form of constrained calls to gsharedvt, enough to support AsyncMethodBuilder.Start ().
Fix a warning.
Add support for constrained calls with one ref parameter to gsharedvt, enought to support AsyncMethodBuilder methods.
[sgen] Binary protocol improvements.

Protocol domain unloads, and allow greping for vtable.
Weaken a race condition in object initialization.

It's still there in a different form, but it's not easy to fix.
Make mono_hwcap_init () only perform initialization if not already done.

This moves arch-specific initialization to mono_hwcap_arch_init ().
Add a mono_hwcap_init () call to parse_optimizations ().

This is necessary because we need hardware features to be
detected by the time we call mono_arch_cpu_optimizations ().
Fix an overflow if MONO_ZERO_LEN_ARRAY is not 0. Fixes #13233.