On the retrieval of velocity gradients from photospheric line asymmetries-A linearized approach