FFI: Fix for cdata vs. non-cdata arithmetic and comparisons.

Thanks to Roman Tsisyk.
FFI: Fix initialization of unions of subtypes.

Thanks to Peter Colberg.
Merge branch 'master' into v2.1
Merge branch 'v2.1' into v2.1-agentzh