David Adam : d3dx8: Move some functions into core. c to match the header file layout.