radv: Use compares for node type in traversal.
The HW has no bit test instruction, so we change 3 pairs of and+cmp to a single and + 3 cmps, saving 2 VALU instructions.
The HW has no bit test instruction, so we change 3 pairs of and+cmp to a single and + 3 cmps, saving 2 VALU instructions.