ZF-11688: Zend_Db BC break - constants removed

Description

See ZF-3684 -- the error constants from Zend_Db were removed.

Even though they were 'null', now code using them fails.

Comments

This clearly is a BC break, uncalled for I suppose.

Fixed in r24416