Reorder logic tests to prefer the DREAM3D typedefs for primitives.

The issue was on Linux the 'unsigned long' was being returned for
the uint64_t typedef which was causing issues for some codes.