[PATCH stable 4.19, 4.20] bpf: fix sanitation rewrite in case of non-pointers