Fixed calling convention in gd_filename.c.

Added a calling convention declaration in the function pointers in
gd_filename.c, so now they can be called correctly.