libdpf: Fix sign compare compiler warning