Actually free LDT on thread destruction on openbsd/x86.
Don't lose() on LDT allocation failure, print an error and return -1.