being more strict about how getUniformLocation fails