d3d12: Transition the right subresource state in resource copy
With the rebase some chode changed that made us take the resource copy path more often and especially for cube maps, something we didn't test before and which resulted in #63
Wip because it is on top of !219 (merged), because there the DS plane count is corrected.
Edited by Erik Faye-Lund