[PATCH 5.12 2/7] bpf: Fix mask direction swap upon off reg sign change