Using llvm::find_if() instead of a range-based for loop; NFC.

This addresses post-commit review feedback from r349188.
1 file changed