Approximate Gradient Coding for Privacy-Flexible Federated Learning with Non-IID Data