On the perturbative analysis of the time-discretization for stochastic Hamiltonian problems