trace_replay: Support running on Arch-based images with pacman.

Arch has pacman instead of dpkg.  Attempt both to see if a package
exists.

BUG=b:214587693
TEST=tast -verbose run -buildbundle=crosint $dut borealis.TraceReplay.hollow_knight

Change-Id: I875296304fa0b7ebb09363b2fcc4d51e373b837f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/graphics/+/3389706
Tested-by: David Riley <davidriley@chromium.org>
Auto-Submit: David Riley <davidriley@chromium.org>
Reviewed-by: Ilja Friedel <ihf@chromium.org>
Commit-Queue: David Riley <davidriley@chromium.org>
1 file changed