M::B::Unix::_detildefy: Protect against platforms without getpw{nam,uid}

Unfortunately there is no %Config key to check, so we have to
eval {} the calls; We also make the getpwuid case default to glob("~").

This is really for Android; it looks like older versions of the OS didn't have the functions.