Fixed some compiler warnings in libgc