[SharpDX] Fix build error with latest changes in ComObject