Ian McKellan apologizes for thoughtless remarks on Bryan Singer/Kevin Spacey