I'd say the gold dragon would clearly not be able to spontaneously use cure or inflict spells, but that the ghaele would.
Reasoning: The dragon's description states that it may cast spells from the cleric spell list and domain spell lists "as arcane spells." As I understand it, this means that the dragon simply has a wider list of spells to choose from in determining its spells known as a sorcerer. IMHO, this specifically precludes swapping out a spell for a cure or inflict spell.
The ghaele, OTOH, casts spells "as a 14th-level cleric" with access to various domains. This suggests that the ghaele, in casting those spells "as a... cleric" would have the ability to swap them out for cure or inflict spells.
Moreover, the rules for spontaneous cleric casting would get awfully confusing with the arrival of Savage Species, which allows monsters that cast as an x-level caster to stack their natural casting ability with levels in the appropriate casting class to determine their actual spellcasting ability. If you decided that ghaele eladrins could only swap out spell slots gained from "real" cleric levels to cast cure or inflict spells, you'd have a bookkeeping nightmare on your hands.