objtool: Re-arrange validate_functions()