move arch-invariant definitions out of bits/ioctl.h