repair undef None GLX wrapper, pass 0 instead of None to GLX functions

Fixes issues that crop up using `None` in a completely different context at https://github.com/mapbox/mapbox-gl-native/blob/master/include/mbgl/style/types.hpp#L181-L191