[PATCH v3 06/18] virtiofs: Provide a helper function for virtqueue initialization