gdi: Change the metafile.c test to use sprintf instead of snprintf for portability.