Rewrite proc_name_arg() in terms of validate_argument().
This is a step toward removing the side effect of modifying the arguments list.
Unfortunately, this required making IS_VALID_ARGUMENT accept a non-const NODE* because numberp() modifies its input.