D3D9/D3D11: Disable pixel shader optimizations due to a compiler bug that crashes Dolphin. Fixes issue 5682. Huge thanks to limburgerite for testing various workarounds, even though none of them worked.