Fixed CORE-4185: message "Invalid lock ID" happened due to incorrect lock kind

git-svn-id: svn+ssh://svn.code.sf.net/p/firebird/code/firebird/trunk@58545 65644016-39b1-43b1-bf79-96bc8fe82c15
Misc.

git-svn-id: svn+ssh://svn.code.sf.net/p/firebird/code/firebird/trunk@58546 65644016-39b1-43b1-bf79-96bc8fe82c15
Temporary bugfix for the thread scheduling issue on Linux.

git-svn-id: svn+ssh://svn.code.sf.net/p/firebird/code/firebird/trunk@58547 65644016-39b1-43b1-bf79-96bc8fe82c15
Fixed CORE-4184 - Executing empty EXECUTE BLOCK with NotNull output parameter raised error.

git-svn-id: svn+ssh://svn.code.sf.net/p/firebird/code/firebird/trunk@58548 65644016-39b1-43b1-bf79-96bc8fe82c15