Spin fluctuations and pseudogap in the two-dimensional half-filled Hubbard model at weak coupling