IPsec: refactor out some code in OVS_MONITOR_IPSEC_START macro