Revert "waf: setmode: io.h -> sys/io.h"

This reverts commit 756e6b8bd02b06e2782890fc397c629cad3b360b.