Fix some issues with glDrawBuffer(GL_NONE), bug 14198