gsearchtool: Fix format-security warning