This fixes a segfault of panelspacer on musl and 32bit glibc systems. BUG: 422914 (cherry picked from commit 36917308)