d3d11: Fix d3d11 object leak and fix initial resolution
d3d11window: Initialize surface rect with given external window handle
Unlike internal window, resize event might not happen with external window.
d3d11device: Report alive d3d11 objects at the end
It would be useful for debugging d3d11 object leak.
d3d11: Fix ID3D11SamplerState leak
Fixes: #1135 (closed)