[core:db] fix syntax error with XOOPS_DB_PCONNECT=1

ref. http://xoopscube.jp/news/941
     http://usadeki.jp/modules/d3forum/index.php?topic_id=495