sched: Update max cpu capacity in case of max frequency constraints