glsl: fix conversions from uint to bool and from float/bool to uint