sdl2_gfx: fix syntax error near unexpected token `) '

Also use `` instead of $() and use $(SED) instead of sed (completely my
fault).

Fixes #506.

Signed-off-by: Timothy Gu <timothygu99@gmail.com>