scripts: fix gdb detection for opensipsctl