[polyml] Negative offset for getX and setX functions in Foreign.Memory