[PATCH 4.14 101/135] bpf, selftests: fix handling of sparse CPU allocations