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

Change-Id: I0d407913f6929a4833e1e5ac19830d5feb3302ac