fix #8690: remove uv.h dependency from julia.h

See #8690: this moves the `uv.h` stuff from `julia.h` to `julia_internal.h`, and modifies the `dlopen`-related functions to use `void*` (aliased to `jl_uv_libhandle`) rather than `uv_lib_t*`.