Fix generating function wrappers for ANE calls.