Pressure-induced stacking sequence variations in gold from first principles