FImageCoreUtils::GetMipCountFromDimensions

Returns the number of mips that constitute a full mip chain for the given top level mip size.