Federated Fine-Tuning of Foundation Models via Probabilistic Masking