[IPSEC]: Move common output code to xfrm_output