Privacy-Aware Compression for Federated Learning Through Numerical Mechanism Design