Do not assume drm card is card0
Do not assume drm card is card0

It's not guaranteed that cards start at /dev/dri/card0, in fact on the
latest kernel on Fedora at least with i915drmfb driver, it's often
/dev/dri/card1.

Bug: b/176909700
Change-Id: I8fd75090f460453c4c7f44ba8363fc715de91e90
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/66268
Reviewed-by: Nicolas Caramelli <890191854b1e5d998c46866a65c5794620e2567e@gmail.com>
Tested-by: Nicolas Capens <51edc787c30f24c4904e8ffbb5523c3a9f7a451d@google.com>
Presubmit-Ready: Nicolas Capens <51edc787c30f24c4904e8ffbb5523c3a9f7a451d@google.com>
Reviewed-by: Nicolas Capens <51edc787c30f24c4904e8ffbb5523c3a9f7a451d@google.com>
Kokoro-Result: kokoro <2ac7b1f3fa578934c95181d4272be0d3bca00121@google.com>
Reviewed-by: Alexis Hétu <1c7141772178a7e80858c3db5052b328076f08f4@google.com>

google/swiftshader,google/swiftshader,google/swiftshader