[Linuxarm] [PATCH v6 2/5] hisi_acc_vfio_pci: extract public functions for container_of