Three loop soft function for N3LL′ gluon fusion Higgs boson production in soft-collinear effective theory