pqconnection: changed FCursorCount to dword to avoid 'prepared statement already exists' errors when preparing more than 64k queries in one transaction while keeping one ore more queries open

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@25099 3ad0048d-3df7-0310-abae-a5850022a9f2