libacl: Make sure that acl_from_text() always sets errno when it fails

The getpwnam() and getgrnam() functions may or may not set errno when
they fail.  If they don't, set it to EINVAL so that errno is always set
when acl_from_text() fails.