libipsec: Properly handle expiration if no lifetime is set