Fixed a potential bug with DDS loading.

# Description:
Found a bug that reared it's head on another branch. I was checking against the wrong enums values in the ImageFormat version of getMinSize.
I also took the chance to rename the function.

# Commits:
Corrected the types tested in getMinSize.
Rename getMinSize to GetMinSize.