[PATCH v2 4.19 18/19] bpf: Fix mask direction swap upon off reg sign change