sdl2/texture: fix compilation for older cython with python3