Fix unit_base kb_base mixup in thread option conversion functions