Relation between wave speeds in the crust of dense magnetic stars