ddraw: Add validation to SetPriority / GetPriority.