Fixed DDS export

After some research, reverted changes made in f3df89ec3f61c82798477599b7305db4599579f9. DDS format doesn't allow to use both fourcc and color masks - fourcc is used for compressed formats, color masks - for uncompressed.