Does the undead you're considering say "Advancement: By character class"? If not, then they obviously didn't consider such a thing happening. Regardless, I'd use the typical undead template rule and just always assign d12 HD. Also, make sure you use the elite array (for PC classes) and non-elite array (for NPC classes).