Remove the cmake test for gcc-4.4

It tests for gcc, and conky is perfectly capable of being compiled with e.g. clang.
Fix compilation with clang
Fix an some strange code found by a clang warning