Fix problem with thread safety in PLSQL::OCIConnection::Cursor

Hi,

I found problem with closing cursors in multithreaded AR MRI environment. It's quite trivial, see changes.