ntel-iommu: cast the type before left shift

To avoid overflow, cast the type of some variables before left shift.

Signed-off-by: Le Tan <tamlokveer@gmail.com>