New function mono_dl_open_runtime_lib that loads runtime libraries.

This extracts the code used to load LLVM.
Use mono_dl_open_runtime_lib instead of hand crafted load commands.
Use mono_dl_open_runtime_lib as an additional fallback for loading the profiler. Fixes profiler loading on OSX.