testing/portablexdr: fix build with musl