Two scheduler fixes:

  - A trivial build fix for sched_feat() to compile correctly with
    CONFIG_JUMP_LABEL=n

  - Replace a zero lenght array with a flexible array.