setns: suppress compiler warnings on BSD