heteroprio: simplify code by using starpu's functions and correct mistakes

3 jobs for !27 with update/auto-heteroprio in 19 minutes and 43 seconds (queued for 3 seconds)
latest merge request