Stellar velocity dispersion and initial mass function gradients in dissipationless galaxy mergers