Gradient Matching Federated Domain Adaptation for Brain Image Classification