Update graphics.c

Fix gr_text function signature