net/liblive: backport 64-bit fix from trunk.