Update getNextExpr(Expr*) to support While/For loops