More small refactorings at gstcmemallocator.c.