Made TextureCube.SetData take a generic type.

Similar to the earlier change to Texture3D, I need the type to calculate some offsets in the platform method. We have some ideas to make everything cleaner, but this is a decent minimal change for now.