w1: fix slave selection on big-endian systems