Refactor clock skew warning code to avoid duplication

The following functions contain very similar clock skew code:

  • connection_dir_client_reached_eof
  • channel_tls_process_netinfo_cell
  • or_state_load

We should unify this code to reduce redundancy and increase consistency.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information