Cast libuv callback in native eckey code

* Fixes compilation errors in some cases