This factors out the current set of attribute-to-primvar functions inside the USD mesh reader/writer so we can use them elsewhere. These new functions will be used for PointCloud attribute reading and Curve attribute reading and writing in follow up changes. Pull Request: https://projects.blender.org/blender/blender/pulls/121145