Test for dlopen with RTLD_GLOBAL only in the second call for the same object.