mesa: check for null shader->Source