stmmac: fix an error code in stmmac_ptp_register()