Made coding conventions more consistent.
Applied union approach to other clGet*Info functions.

Only remaining function is clGetProgramInfo.