[PATCH 5.4] bpf: Fix DEVMAP_HASH overflow check on 32-bit arches