sched: Compute avg_nr_running

Change-Id: I8ef699df0133d97c067ba225e633776f5006d32c