glsl: Add "built-in" functions to convert bool to double