ipsec: Add function to compare two ipsec_sa_cfg_t instances