Magnification-Invariant Image Classification via Domain Generalization and Stable Sparse Embedding Signatures