Pressure study on the interplay between magnetic order and valence-change crossover in EuPd$_2$(Si$_{1-x}$Ge$_x$)$_2$