D3D: Exit fullscreen when exclusive mode has been lost.

This should prevent users from ending up in an exclusive mode loop.
It also allows users to easily Alt+Tab out of exclusive fullscreen.

Though we haven't gotten any reports of exclusive mode loops, I have been able to produce some. While I don't know the cause I don't want any chance of this happening in the stable.