libload: relocate all loaded objects during dlopen() instead of just the first one

This fixes segfaults loading things like libssl with dlopen, as the libcrypto
dependency is now relocated properly.