Imaginary-time evolution algorithms for intermediate-scale quantum signal processors