pathmask_to_pos — find the position of the left-most bit in a pathmask
u8 pathmask_to_pos (
)
mask
pathmask with at least one bit set