Casting last argument of uv_queue_work to uv_after_work_cb for Node v0.10.x compatibility

With these changes, `node-gyp build` should now work with Node v0.10.x.