libcgc: Make location signed

It's -1 for declared but not used variables, so let's carry that
info through.

Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>