Impact factor for gluon production in multi-Regge kinematics in the next-to-leading order