fix some bit shift bugs in pci modern ops

The mailing list patch that added pci modern to kvmtool included a few
breaking bugs that this patch fixes.

TEST=builds and virtio devices still work
BUG=None

Change-Id: I320af2b932d06ec82e4ab071900508f7fdde1087
Reviewed-on: https://chromium-review.googlesource.com/442092
Commit-Ready: Zach Reizner <zachr@chromium.org>
Tested-by: Zach Reizner <zachr@chromium.org>
Reviewed-by: Chirantan Ekbote <chirantan@chromium.org>
1 file changed