intel-iommu: add dev_to_context_entry()

Add dev_to_context_entry() to map a device to its corresponding domain.

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