stmmac: Validate hwtstamp_config completely before applying it