Use correct PIC option for Sun cc C compiler.

Interestingly enough, while Sun CC C++ compiler supports -pic option as a
synonym for -Kpic, C compiler does not support it and instead silently
interprets it as "-p -i -c" where "-c" is redundant, "-i" is potentially
harmful (it means to ignore LD_LIBRARY_PATH) but generally just useless and
"-p" enables profiling, which results in mysterious missing references to
"_mcount" symbol in all the code linked without it, including C++ code linked
using the same "-pic" option.

Use -Kpic for both C and C++ compilers to avoid this problem and confusion.