[C++11] Replace llvm::next and llvm::prior with std::next and std::prev.