set *expires_out correctly in addressmap_rewrite

Right now, *expires_out is set unconditionally to TIME_MAX at the end of addressmap_rewrite. That's wrong.