Simplify awk command to a single gsub call