Fix bug in PDO MySQL driver's lockTable method