goldendict: fix build with gcc47