qtbase tests: Fix some warnings