[PATCH v5 02/16] swiotlb: Refactor swiotlb init functions