Advancing by HD only advances certain enumerated things. Spell casting is not one of those things, although special ability DCs are HD based.
INCREASING HIT DICE
As its Hit Dice increase, a creature’s attack bonuses and saving throw modifiers might improve. It gains more feats and skills, depending on its type, as shown on Table: Creature Improvement by Type.
Note that if a creature acquires a character class, it improves according to its class, not its type.
The couatl has spell casting as a 9th-level sorcerer, not as a sorcerer of level=HD.
Spells: A couatl casts spells as a 9th-level sorcerer.
It can choose its spells known from the sorcerer list, the cleric list, and from the lists for the Air, Good, and Law domains. The cleric spells and domain spells are considered arcane spells for a couatl, meaning that the creature does not need a divine focus to cast them.
Typical Spells Known (6/7/7/7/4; save DC 13 + spell level): 0—cure minor wounds, daze, disrupt undead, light, obscuring mist, ray of frost, read magic, resistance; 1st—endure elements, mage armor, protection from chaos, true strike, wind wall; 2nd—cure moderate wounds, eagle’s splendor, scorching ray, silence; 3rd—gaseous form, magic circle against evil, summon monster III; 4th— charm monster, freedom of movement.