Role of transverse momentum dependence of unpolarized parton distribution and fragmentation functions in the analysis of azimuthal spin asymmetries