Homogeneity study of a GaAs:Cr pixelated sensor by means of X-rays