make it work for pulseaudio-3

There was some sloppy coding assuming that the structure passed to the
sinkinfo callback was persistent on the heap and not emphemeral on the
stack.  Fix the code by manually copying the data we need.