Homotopy invariance of spectral invariants of topological Hamiltonian flows