Refactor: scheduler: consolidate ordering flags functions
get_flags() and get_asymmetrical_flags() are now combined into the more
descriptively named ordering_flags_for_kind(). get_flags() didn't use two of
its arguments, so those were dropped.
The old functions were unnecessarily exposed; the new one is static.