Green-function approach to transport through a gate-surrounded Si nanowire with impurity scattering