Segfault when print hashrate in syslog mode and gpu more than one.
When GPU's (not threads!) many then one and `syslog` is enabled - if request `h`ashrate.

```json
{                                                        
    "algo": "cryptonight",                               
    "background": false,                                 
    "syslog": true,                                      
    "threads": [                                         
        {                                                
            "index": 0,                                  
            "intensity": 415,                            
            "worksize": 8,                               
            "affine_to_cpu": false                       
        },                                               
        {                                                
            "index": 0,                                  
            "intensity": 415,                            
            "worksize": 8,                               
            "affine_to_cpu": false                       
        },                                               
        {                                                
            "index": 1,                                  
            "intensity": 415,                            
            "worksize": 8,                               
            "affine_to_cpu": false                       
        },                                               
        {                                                
            "index": 1,                                  
            "intensity": 415,                            
            "worksize": 8,                               
            "affine_to_cpu": false                       
        }
]                                                
```

```shell
May 07 23:19:52 nova_amd6 xmrig[1353]:  * VERSIONS:     XMRig/2.6.1 libuv/1.20.2 OpenCL/2.0 gcc/7.3.1
May 07 23:19:52 nova_amd6 xmrig[1353]:  * CPU:                Intel(R) Celeron(R) CPU  J1800  @ 2.41GHz (1) x64 -AES-NI
May 07 23:19:52 nova_amd6 xmrig[1353]:  * ALGO:         cryptonight, donate=5%
May 07 23:19:52 nova_amd6 xmrig[1353]:  * POOL #1:      monero.napaster.name:14444
May 07 23:19:52 nova_amd6 xmrig[1353]:  * COMMANDS:     'h' hashrate, 'p' pause, 'r' resume
May 07 23:19:52 nova_amd6 xmrig[1353]: compiling code and initializing GPUs. This will take a while...
May 07 23:19:56 nova_amd6 xmrig[1353]: #0, GPU #0 (), intensity: 415 (8/256), cu: 20
May 07 23:20:16 nova_amd6 xmrig[1353]: #1, GPU #0 (), intensity: 415 (8/256), cu: 20
May 07 23:20:36 nova_amd6 xmrig[1353]: #2, GPU #1 (), intensity: 415 (8/256), cu: 20
May 07 23:20:56 nova_amd6 xmrig[1353]: #3, GPU #1 (), intensity: 415 (8/256), cu: 20
May 07 23:21:16 nova_amd6 xmrig[1353]: speed 10s/60s/15m n/a n/a n/a H/s max: n/a H/s
May 07 23:21:17 nova_amd6 xmrig[1353]: use pool monero.napaster.name:14444 51.15.55.162
May 07 23:21:17 nova_amd6 xmrig[1353]: new job from monero.napaster.name:14444 diff 120001
May 07 23:21:38 nova_amd6 xmrig[1353]: new job from monero.napaster.name:14444 diff 120001
May 07 23:22:16 nova_amd6 xmrig[1353]: speed 10s/60s/15m 834.6 n/a n/a H/s max: 835.4 H/s
May 07 23:22:38 nova_amd6 xmrig[1353]: new job from monero.napaster.name:14444 diff 120001
May 07 23:22:54 nova_amd6 xmrig[1353]: speed 10s/60s/15m (null) 215.4 215.0 H/s
May 07 23:22:54 nova_amd6 kernel: xmrig-amd[1353]: segfault at 1 ip 00007f7402e3a3a6 sp 00007ffdf3d34148 error 4 in libc-2.27.so[7f7402da4000+1b1000]
May 07 23:22:54 nova_amd6 xmrig[1353]: speed 10s/60s/15m (null) 215.9 216.2 H/s
May 07 23:22:54 nova_amd6 systemd[1]: Started Process Core Dump (PID 1366/UID 0).
May 07 23:22:56 nova_amd6 systemd-coredump[1367]: Process 1353 (xmrig-amd) of user 0 dumped core.
                                                  
                                                  Stack trace of thread 1353:
                                                  #0  0x00007f7402e3a3a6 __GI___strlen_sse2 (libc.so.6)
                                                  #1  0x00007f7402df34bd vfprintf (libc.so.6)
                                                  #2  0x00007f7402e1abd2 vsnprintf (libc.so.6)
                                                  #3  0x000055f6bcd9c142 _ZN10ConsoleLog7messageEiPKcP13__va_list_tag (xmrig-amd)
                                                  #4  0x000055f6bcd9c8e0 _ZN3Log7messageENS_5LevelEPKcz (xmrig-amd)
                                                  #5  0x000055f6bcdd4d58 _ZN8Hashrate5printEmi (xmrig-amd)
                                                  #6  0x000055f6bcdd5433 _ZN7Workers13printHashrateEb (xmrig-amd)
                                                  #7  0x00007f74037d1d29 n/a (libuv.so.1)
                                                  #8  0x00007f74037d2a9c n/a (libuv.so.1)
                                                  #9  0x00007f74037d7cd0 uv__io_poll (libuv.so.1)
                                                  #10 0x00007f74037c904b uv_run (libuv.so.1)
                                                  #11 0x000055f6bcd9b832 _ZN3App4execEv (xmrig-amd)
                                                  #12 0x000055f6bcd8f964 main (xmrig-amd)
                                                  #13 0x00007f7402dc59a7 __libc_start_main (libc.so.6)
                                                  #14 0x000055f6bcd8fd1a _start (xmrig-amd)
                                                  
                                                  Stack trace of thread 1361:
                                                  #0  0x00007f740338f956 do_futex_wait.constprop.1 (libpthread.so.0)
                                                  #1  0x00007f740338fa58 __new_sem_wait_slow.constprop.0 (libpthread.so.0)
                                                  #2  0x00007f73fc57dda0 n/a (libamdocl64.so)
                                                  #3  0x00007f73fc57bbb6 n/a (libamdocl64.so)
                                                  #4  0x00007f73fc56bdc8 n/a (libamdocl64.so)
                                                  #5  0x00007f73fc56d5d4 n/a (libamdocl64.so)
                                                  #6  0x00007f73fc545103 clFinish (libamdocl64.so)
                                                  #7  0x00007f740316fa77 clFinish (libOpenCL.so.1)
                                                  #8  0x000055f6bcdb0662 _Z9XMRRunJobP10GpuContextPjN5xmrig4AlgoEj (xmrig-amd)
                                                  #9  0x000055f6bcdd3a0a _ZN9OclWorker5startEv (xmrig-amd)
                                                  #10 0x00007f74033870bc start_thread (libpthread.so.0)
                                                  #11 0x00007f7402e9b2ff __clone (libc.so.6)
                                                  
                                                  Stack trace of thread 1356:
                                                  #0  0x00007f7402e924c7 ioctl (libc.so.6)
                                                  #1  0x00007f73fc96c08a n/a (libamdocl64.so)
                                                  #2  0x00007f73fc96c572 n/a (libamdocl64.so)
                                                  #3  0x00007f73fc96c667 n/a (libamdocl64.so)
                                                  #4  0x00007f73fc95fcaa n/a (libamdocl64.so)
                                                  #5  0x00007f73fc945681 n/a (libamdocl64.so)
                                                  #6  0x00007f73fc5f0407 n/a (libamdocl64.so)
                                                  #7  0x00007f73fc5f05fb n/a (libamdocl64.so)
                                                  #8  0x00007f73fc672a57 n/a (libamdocl64.so)
                                                  #9  0x00007f73fc677379 n/a (libamdocl64.so)
                                                  #10 0x00007f73fc5c0d50 n/a (libamdocl64.so)
                                                  #11 0x00007f73fc5c0e95 n/a (libamdocl64.so)
                                                  #12 0x00007f73fc591257 n/a (libamdocl64.so)
                                                  #13 0x00007f73fc5927fe n/a (libamdocl64.so)
                                                  #14 0x00007f73fc592add n/a (libamdocl64.so)
                                                  #15 0x00007f73fc5c5b3c n/a (libamdocl64.so)
                                                  #16 0x00007f73fc56ddad n/a (libamdocl64.so)
                                                  #17 0x00007f73fc56e12d n/a (libamdocl64.so)
                                                  #18 0x00007f73fc50c15f n/a (libamdocl64.so)
                                                  #19 0x00007f73fc57c15c n/a (libamdocl64.so)
                                                  #20 0x00007f74033870bc start_thread (libpthread.so.0)
                                                  #21 0x00007f7402e9b2ff __clone (libc.so.6)
                                                  
                                                  Stack trace of thread 1355:
                                                  #0  0x00007f7402e924c7 ioctl (libc.so.6)
                                                  #1  0x00007f73fc96c08a n/a (libamdocl64.so)
                                                  #2  0x00007f73fc96c572 n/a (libamdocl64.so)
                                                  #3  0x00007f73fc96c667 n/a (libamdocl64.so)
                                                  #4  0x00007f73fc95fcaa n/a (libamdocl64.so)
                                                  #5  0x00007f73fc945681 n/a (libamdocl64.so)
                                                  #6  0x00007f73fc5f0407 n/a (libamdocl64.so)
                                                  #7  0x00007f73fc5f05fb n/a (libamdocl64.so)
                                                  #8  0x00007f73fc672a57 n/a (libamdocl64.so)
                                                  #9  0x00007f73fc677379 n/a (libamdocl64.so)
                                                  #10 0x00007f73fc5c0d50 n/a (libamdocl64.so)
                                                  #11 0x00007f73fc5c0e95 n/a (libamdocl64.so)
                                                  #12 0x00007f73fc591257 n/a (libamdocl64.so)
                                                  #13 0x00007f73fc5927fe n/a (libamdocl64.so)
                                                  #14 0x00007f73fc592add n/a (libamdocl64.so)
                                                  #15 0x00007f73fc5c5b3c n/a (libamdocl64.so)
                                                  #16 0x00007f73fc56ddad n/a (libamdocl64.so)
                                                  #17 0x00007f73fc56e12d n/a (libamdocl64.so)
                                                  #18 0x00007f73fc50c15f n/a (libamdocl64.so)
                                                  #19 0x00007f73fc57c15c n/a (libamdocl64.so)
                                                  #20 0x00007f74033870bc start_thread (libpthread.so.0)
                                                  #21 0x00007f7402e9b2ff __clone (libc.so.6)
                                                  
                                                  Stack trace of thread 1354:
                                                  #0  0x00007f7402e924c7 ioctl (libc.so.6)
                                                  #1  0x00007f73fc96c08a n/a (libamdocl64.so)
                                                  #2  0x00007f73fc96c572 n/a (libamdocl64.so)
                                                  #3  0x00007f73fc96c667 n/a (libamdocl64.so)
                                                  #4  0x00007f73fc95fcaa n/a (libamdocl64.so)
                                                  #5  0x00007f73fc945681 n/a (libamdocl64.so)
                                                  #6  0x00007f73fc5f0407 n/a (libamdocl64.so)
                                                  #7  0x00007f73fc5f05fb n/a (libamdocl64.so)
                                                  #8  0x00007f73fc672a57 n/a (libamdocl64.so)
                                                  #9  0x00007f73fc677379 n/a (libamdocl64.so)
                                                  #10 0x00007f73fc5c0d50 n/a (libamdocl64.so)
                                                  #11 0x00007f73fc5c0e95 n/a (libamdocl64.so)
                                                  #12 0x00007f73fc591257 n/a (libamdocl64.so)
                                                  #13 0x00007f73fc5927fe n/a (libamdocl64.so)
                                                  #14 0x00007f73fc592add n/a (libamdocl64.so)
                                                  #15 0x00007f73fc5c5b3c n/a (libamdocl64.so)
                                                  #16 0x00007f73fc56ddad n/a (libamdocl64.so)
                                                  #17 0x00007f73fc56e12d n/a (libamdocl64.so)
                                                  #18 0x00007f73fc50c15f n/a (libamdocl64.so)
                                                  #19 0x00007f73fc57c15c n/a (libamdocl64.so)
                                                  #20 0x00007f74033870bc start_thread (libpthread.so.0)
                                                  #21 0x00007f7402e9b2ff __clone (libc.so.6)
                                                  
                                                  Stack trace of thread 1357:
                                                  #0  0x00007f7402e924c7 ioctl (libc.so.6)
                                                  #1  0x00007f73fc96c08a n/a (libamdocl64.so)
                                                  #2  0x00007f73fc96c572 n/a (libamdocl64.so)
                                                  #3  0x00007f73fc96c667 n/a (libamdocl64.so)
                                                  #4  0x00007f73fc95fcaa n/a (libamdocl64.so)
                                                  #5  0x00007f73fc945681 n/a (libamdocl64.so)
                                                  #6  0x00007f73fc5f0407 n/a (libamdocl64.so)
                                                  #7  0x00007f73fc5f05fb n/a (libamdocl64.so)
                                                  #8  0x00007f73fc672a57 n/a (libamdocl64.so)
                                                  #9  0x00007f73fc677379 n/a (libamdocl64.so)
                                                  #10 0x00007f73fc5c0d50 n/a (libamdocl64.so)
                                                  #11 0x00007f73fc5c0e95 n/a (libamdocl64.so)
                                                  #12 0x00007f73fc591257 n/a (libamdocl64.so)
                                                  #13 0x00007f73fc5927fe n/a (libamdocl64.so)
                                                  #14 0x00007f73fc592add n/a (libamdocl64.so)
                                                  #15 0x00007f73fc5c5b3c n/a (libamdocl64.so)
                                                  #16 0x00007f73fc56ddad n/a (libamdocl64.so)
                                                  #17 0x00007f73fc56e12d n/a (libamdocl64.so)
                                                  #18 0x00007f73fc50c15f n/a (libamdocl64.so)
                                                  #19 0x00007f73fc57c15c n/a (libamdocl64.so)
                                                  #20 0x00007f74033870bc start_thread (libpthread.so.0)
                                                  #21 0x00007f7402e9b2ff __clone (libc.so.6)
                                                  
                                                  Stack trace of thread 1358:
                                                  #0  0x00007f740338f956 do_futex_wait.constprop.1 (libpthread.so.0)
                                                  #1  0x00007f740338fa58 __new_sem_wait_slow.constprop.0 (libpthread.so.0)
                                                  #2  0x00007f73fc57dda0 n/a (libamdocl64.so)
                                                  #3  0x00007f73fc57bbb6 n/a (libamdocl64.so)
                                                  #4  0x00007f73fc56bdc8 n/a (libamdocl64.so)
                                                  #5  0x00007f73fc56d5d4 n/a (libamdocl64.so)
                                                  #6  0x00007f73fc545103 clFinish (libamdocl64.so)
                                                  #7  0x00007f740316fa77 clFinish (libOpenCL.so.1)
                                                  #8  0x000055f6bcdb0662 _Z9XMRRunJobP10GpuContextPjN5xmrig4AlgoEj (xmrig-amd)
                                                  #9  0x000055f6bcdd3a0a _ZN9OclWorker5startEv (xmrig-amd)
                                                  #10 0x00007f74033870bc start_thread (libpthread.so.0)
                                                  #11 0x00007f7402e9b2ff __clone (libc.so.6)
                                                  
                                                  Stack trace of thread 1359:
                                                  #0  0x00007f740338f956 do_futex_wait.constprop.1 (libpthread.so.0)
                                                  #1  0x00007f740338fa58 __new_sem_wait_slow.constprop.0 (libpthread.so.0)
                                                  #2  0x00007f73fc57dda0 n/a (libamdocl64.so)
                                                  #3  0x00007f73fc57bbb6 n/a (libamdocl64.so)
                                                  #4  0x00007f73fc56bdc8 n/a (libamdocl64.so)
                                                  #5  0x00007f73fc56d5d4 n/a (libamdocl64.so)
                                                  #6  0x00007f73fc545103 clFinish (libamdocl64.so)
                                                  #7  0x00007f740316fa77 clFinish (libOpenCL.so.1)
                                                  #8  0x000055f6bcdb0662 _Z9XMRRunJobP10GpuContextPjN5xmrig4AlgoEj (xmrig-amd)
                                                  #9  0x000055f6bcdd3a0a _ZN9OclWorker5startEv (xmrig-amd)
                                                  #10 0x00007f74033870bc start_thread (libpthread.so.0)
                                                  #11 0x00007f7402e9b2ff __clone (libc.so.6)
                                                  
                                                  Stack trace of thread 1360:
                                                  #0  0x00007f740338f956 do_futex_wait.constprop.1 (libpthread.so.0)
                                                  #1  0x00007f740338fa58 __new_sem_wait_slow.constprop.0 (libpthread.so.0)
                                                  #2  0x00007f73fc57dda0 n/a (libamdocl64.so)
                                                  #3  0x00007f73fc57bbb6 n/a (libamdocl64.so)
                                                  #4  0x00007f73fc56bdc8 n/a (libamdocl64.so)
                                                  #5  0x00007f73fc56d5d4 n/a (libamdocl64.so)
                                                  #6  0x00007f73fc545103 clFinish (libamdocl64.so)
                                                  #7  0x00007f740316fa77 clFinish (libOpenCL.so.1)
                                                  #8  0x000055f6bcdb0662 _Z9XMRRunJobP10GpuContextPjN5xmrig4AlgoEj (xmrig-amd)
                                                  #9  0x000055f6bcdd3a0a _ZN9OclWorker5startEv (xmrig-amd)
                                                  #10 0x00007f74033870bc start_thread (libpthread.so.0)
                                                  #11 0x00007f7402e9b2ff __clone (libc.so.6)
                                                  
                                                  Stack trace of thread 1362:
                                                  #0  0x00007f740338d07c pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                  #1  0x00007f74037d4a7a uv_cond_wait (libuv.so.1)
                                                  #2  0x00007f74037c5f69 n/a (libuv.so.1)
                                                  #3  0x00007f74033870bc start_thread (libpthread.so.0)
                                                  #4  0x00007f7402e9b2ff __clone (libc.so.6)
                                                  
                                                  Stack trace of thread 1363:
                                                  #0  0x00007f740338d07c pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                  #1  0x00007f74037d4a7a uv_cond_wait (libuv.so.1)
                                                  #2  0x00007f74037c5f69 n/a (libuv.so.1)
                                                  #3  0x00007f74033870bc start_thread (libpthread.so.0)
                                                  #4  0x00007f7402e9b2ff __clone (libc.so.6)
                                                  
                                                  Stack trace of thread 1364:
                                                  #0  0x00007f740338d07c pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                  #1  0x00007f74037d4a7a uv_cond_wait (libuv.so.1)
                                                  #2  0x00007f74037c5f69 n/a (libuv.so.1)
                                                  #3  0x00007f74033870bc start_thread (libpthread.so.0)
                                                  #4  0x00007f7402e9b2ff __clone (libc.so.6)
                                                  
                                                  Stack trace of thread 1365:
                                                  #0  0x00007f740338d07c pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                  #1  0x00007f74037d4a7a uv_cond_wait (libuv.so.1)
                                                  #2  0x00007f74037c5f69 n/a (libuv.so.1)
                                                  #3  0x00007f74033870bc start_thread (libpthread.so.0)
                                                  #4  0x00007f7402e9b2ff __clone (libc.so.6)
```