Easily fix DoS bug in the RTLD that upstream won't fix. (For more info, see FreeBSD PR kern/180077).