(D3D) Move ifndef XBOX functionality to D3D context driver