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