Skip unreadable libs / symlinks.

Some libraries might be unreadable due to SELinux rule. Change all the
std::filesystem calls to use the exception-free variants.

Test: presubmit
Fix: 183954738
Change-Id: I8babffe3e13f3d7dae95edd1196ca56fd239b87b
1 file changed