Blocking bugfix for mysql lock

GET_LOCK doesn't block in mySQL, so the $blocking variable has no effect when passed to getLock in the mysql driver. This fixes the blocking logic in the abstract base class.