hpux posix timers fix

On hpux clock_gettime does not provide per thread info but only per
process.As suggested in :
http://h30499.www3.hp.com/t5/Languages-and-Scripting/porting-code-to-HPUX-IA64/td-p/4362495
code is modified to return time per process.
preprocessor #error fix

in order for the code to compile (even without atomic operations
implemented) we had to convert pragma error to pragma warning.
TODO: atomic operations should be implemented using platform
specific API.
preprocessor fixes for hpux

some missing underscore from definition, and additions where
only HPUX (and not __hpux) macro was checked.
missing stdint in hpux (aCC)

Depending on the version level of hpux there
might be no stdint header.Instead we can use
inttypes as alternative.
GL extensions under hpux

Under hpux some opengl extensions are predefined by hp opengl
having different ID'S.
aCC needs c++ files to end with newline
RLIM_INFINITY may be predefined on hpux
removal of old & deprecate SegvHandler on hpux
template needs instantiation parameters

Under hpux aCC compiler it seems that there are
cases where the usage of template names needs
its instantiation parameters.
hpux compiler error on template function

Had to reimplement Image_PixMapData users since
there were *strange* compiler errors upon using
template member from the above class.
removal of template parameter

had to remove template parameter from
a template function in order for the
code to compile under hpux.