refs #1630 : bugfix - remove deprecated functrion.

 - Changed deprecated mysqli-related function in mysqli debug to be compatible with PHP
 5.5