mesa: Don't call GenerateMipmap if Width or Height == 0.