cylc restart: fix 'runahead' state handling

This fixes the behaviour of `cylc restart` with a pre-cylc-6 state file containing
the `runahead` state.

@matthewrmshin, please review.