pianobar: upstream patch to fix segfault

Fixes #31957.