PHP 5.6: fix phpdbg with libedit https://bugs.php.net/67499