add legacy euidaccess function and eaccess alias for it

this is mainly for ABI compat purposes.