fix cut and paste error in documentation of get_thread_priority

There seems to be a cut and paste error in the documentation of get_thread_priority