[PATCH 4.14 108/189] iommu/vt-d: fix shift-out-of-bounds in bug checking