Don't return the terminating null in the Ruby String.

This fixes test case TestGl20#test_shaders.
Treat non false boolean results as true. This is what the specs say.