[PATCH 4.16 164/279] iommu/vt-d: fix shift-out-of-bounds in bug checking