This is a restriction as a result of how the spell behaved in Warcraft 3. The spell Doom is based on cannot target ancient creeps in Warcraft 3 by default, so it carried over to DotA.

The restriction makes no sense, and should be lifted.