Effective Hamiltonian constraint from group field theory