Fix restoring previous euid in exec_as_uid
Fix restoring previous euid in exec_as_uid

Fixes: https://trac.macports.org/ticket/56721

danchr/macports-base,danchr/macports-base,macports/macports-base,macports/macports-base,neverpanic/macports-base,neverpanic/macports-base