cherry-pick some cleanups from pull request #370
Merge branch 'master' of github.com:halide/Halide
Clarify why has_gpu_feature doesn't count OpenGL