tools/pci: replace pciutils with pciaccess

The pciutils library has a license which is incompatible with ours, so
switch to pciaccess instead since it's MIT-licensed.

Signed-off-by: Benjamin Fair <benjaminfair@google.com>
Change-Id: Ie40580d9992f7c30d9fdc904f97c89057791b10e
diff --git a/internal/sys.hpp b/internal/sys.hpp
index a399903..7c56818 100644
--- a/internal/sys.hpp
+++ b/internal/sys.hpp
@@ -16,6 +16,7 @@
 #include <cinttypes>
 #include <cstddef>
 #include <cstdint>
+#include <system_error>
 
 namespace internal
 {
@@ -88,6 +89,11 @@
     std::int64_t getSize(const char* pathname) const override;
 };
 
+inline std::system_error errnoException(const std::string& message)
+{
+    return std::system_error(errno, std::generic_category(), message);
+}
+
 /** @brief Default instantiation of sys */
 extern SysImpl sys_impl;