[polyml] address type in Poly/ML interface to C (FFI)