Color-octet scalar effects on Higgs boson production in gluon fusion