startuptime: extract special STARTING case

A bit cleaner than the error prone `strstr` code.