Fixed crash (Win7) when query IID_IDXGIDevice3 succeeds, but getting adapter fails.
Fixed crash (Win7) when query IID_IDXGIDevice3 succeeds, but getting adapter fails.

cuavas/bgfx,Vertexwahn/bgfx,mendsley/bgfx,Synxis/bgfx,ming4883/bgfx,ming4883/bgfx,MikePopoloski/bgfx,darkimage/bgfx,mcanthony/bgfx,Extrawurst/bgfx,septag/bgfx,janstk/bgfx,janstk/bgfx,mmicko/bgfx,0-wiz-0/bgfx,BlueCrystalLabs/bgfx,cyndis/bgfx,cuavas/bgfx,mmicko/bgfx,ming4883/bgfx,emoon/bgfx,v3n/bgfx,darkimage/bgfx,LSBOSS/bgfx,elmindreda/bgfx,0-wiz-0/bgfx,aonorin/bgfx,Vertexwahn/bgfx,sergeScherbakov/bgfx,LWJGL-CI/bgfx,cyndis/bgfx,v3n/bgfx,Synxis/bgfx,bkaradzic/bgfx,LSBOSS/bgfx,emoon/bgfx,jpcy/bgfx,emoon/bgfx,sergeScherbakov/bgfx,LWJGL-CI/bgfx,jpcy/bgfx,mcanthony/bgfx,fluffyfreak/bgfx,Extrawurst/bgfx,bkaradzic/bgfx,andr3wmac/bgfx,BlueCrystalLabs/bgfx,aonorin/bgfx,attilaz/bgfx,elmindreda/bgfx,MikePopoloski/bgfx,andr3wmac/bgfx,fluffyfreak/bgfx,cyndis/bgfx,LWJGL-CI/bgfx,jdryg/bgfx,septag/bgfx,ktotheoz/bgfx,bkaradzic/bgfx,sergeScherbakov/bgfx,mendsley/bgfx,kondrak/bgfx,Vertexwahn/bgfx,mmicko/bgfx,marco-we/bgfx,fluffyfreak/bgfx,attilaz/bgfx,bkaradzic/bgfx,ktotheoz/bgfx,jpcy/bgfx,ocornut/bgfx,v3n/bgfx,0-wiz-0/bgfx,attilaz/bgfx,jdryg/bgfx,marco-we/bgfx,aonorin/bgfx,jdryg/bgfx,mcanthony/bgfx,LSBOSS/bgfx,Extrawurst/bgfx,septag/bgfx,elmindreda/bgfx,cuavas/bgfx,fluffyfreak/bgfx,ocornut/bgfx,LWJGL-CI/bgfx,darkimage/bgfx,ocornut/bgfx,janstk/bgfx,marco-we/bgfx,kondrak/bgfx,ktotheoz/bgfx,Synxis/bgfx,jpcy/bgfx,andr3wmac/bgfx,MikePopoloski/bgfx,mendsley/bgfx,kondrak/bgfx,jdryg/bgfx,BlueCrystalLabs/bgfx