channel-switch: use sys/ioctl.h instead of stropts.h