Fixed a bug, related with isc_info_svc_running

git-svn-id: svn+ssh://svn.code.sf.net/p/firebird/code/firebird/trunk@58378 65644016-39b1-43b1-bf79-96bc8fe82c15
Avoid races when accessing svc_flags

git-svn-id: svn+ssh://svn.code.sf.net/p/firebird/code/firebird/trunk@58379 65644016-39b1-43b1-bf79-96bc8fe82c15
Fix old "simplification" that broke SIMILAR TO (bugs.core_0769 test case).

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