Fix setting/getting the native priority of a thread.
am: fa59588533

Change-Id: I0ae648314f0bb87b52fc06117255613b1ae9a62f