Bug 994560: Compute CPU priority based on priority that is going to be set r=gsvelto