Merge changes I3de521a9,Ia4f8cffb into emu-master-dev

* changes:
  BACKPORT: exec: extract address_space_translate_iommu, fix page_mask corner case
  BACKPORT: exec: small changes to flatview_do_translate