For powerpc the termios ioctl numbers are defined with reference to the
argument-structure size. This structure must be the one expected by the
kernel (kernel termios) not the one defined by GLIBC (in
termios.h). Work around this by defining ioctl numbers with reference
to the privately defined termios2 structure.
Applies only to Linux/PowePC, and only if USE_CUSTOM_BAUD is enabled.
The powerpc[64le] arch uses different ioctls for custom baud setting: It
uses the old TCSETS*, TCGETS ioctls, not the new TCSETS*2, TCGETS2 ones.
Cross-compiles cleanly, not tested (no h/w currently available).