MFC r302908:
Fix dlsym(RTLD_NEXT) handling to only return the next library in last library cases.
Approved by: re (gjb)