Add CMake checks to detect duplicate types

Some functions are defined with arguments of type Standard_Integer,
Standard_Size and Standard_Utf32Char.  On some systems, Standard_Size
and Standard_Utf32Char are both aliases to 'unsigned int', and thus
compiler aborts because some body functions are duplicates in
Standard_Integer.hxx.

See issues #380, #388 and #415.
Added inttypes.h for aCC on hpux

The initial tests were made using gcc on hpux which has stdint
header. Testing on the platform compiler (hp's aCC) it has been
noticed that there are cases where stdint is missing. The standard
header in this case for integer types is inttypes.h
Merge pull request #415 from tpaviot/review/template-issue-on-hpux

Template ambiguity under HP UX.