Change a dyn_cast from r199794 to a straight cast

It's guaranteed to be a CXXMethodDecl.