Gauged Goldstone boson effective action from direct integration of Bardeen anomaly