FFI: Fix compilation of reference field access.
Merge branch 'master' into v2.1