Fix misc Scrutinizer issues for Tests/GearmanClientStub