Expose __swbuf and __srget

The Tegra OpenGL needs these functions, so allow it to access them