Double insertions of SMEFT operators in gluon fusion Higgs boson production