net: hns3: make sure ptp clock is unregister and freed if hclge_ptp_get_cycle returns an error (CVE-2025-21924) | HOL Guard CVE