[Git][wine/wine][master] 5 commits: d3dx10: Move file/resource loading helper functions into shared code.