[polyml] CInterface.setFinal pointer mismatch