cleanup ink_thread.h for TS-1698

All versions of FreeBSD support pthread_cancel() and
pthread_getschedparam(). If there are any platforms out there that do
not, this is a saner way to catch them.