[PATCH v10 01/12] swiotlb: Refactor swiotlb init functions