GuardHFL: Privacy Guardian for Heterogeneous Federated Learning