compiler: add src information to AST dumps (part 1 of 2).