graphics/buffer.h: append_transform() rework

Renamed append_transforms(), accepts count parameter, to append a variable
number of transforms to the buffer.