unix, windows: remove struct passing/returning from the libuv API

Take it for a ride, Jenkins!

@piscisaureus You probably should take a look.