port-mirroring: fix compilation under newer musl