node-ffi: fix Function overrides