Pre-Trained Masked Image Model for Mobile Robot Navigation