mysql: Retire old mysql constants

Required for PHP 5.5 compatibility