Differentiability in perturbation parameter of measure solutions to perturbed transport equation