Fix bug with gl_WARN_ON_USE_PREPARE, introduced on 2011-01-23.