Merge "Use down_cast instead of reinterpret_cast in Optimizing codegens."