Gas incorporation in sputtered and evaporated gold films