fixed the unreachable GL error check in getAttribOrUniformLocation in demos/shapes...