priority-donate-lower hack in thread_set_priority