Influence of ambient on hydrogen release from p-type gallium nitride