[PATCH 6/9] mstask: Implement ITask::GetPriority().