cmd/gotree: Add -go flag for printing tree as Go literal