graphics/sdl2_gpu: fix build with LLVM 16
Silence a warning about an incompatible function pointer type to fix
the build on 14-CURRENT. This warning is harmless: the function pointer
takes a const argument, but was assigned to where a pointer taking an
unqualified argument was expected.
Reported by: fallout