finish const-ifying ast_func_read()