Add const qualifier to various SDL2 functions.

Apparently, cython now supports const.