sysdb: Fixed incompatible pointer type warning reported by clang.
integration/test_lib: Manage the sysdbd PID centrally.

This way, we actually get the right PID outside of the wrapper function and
test_lib can make sure the process is terminated on EXIT.