[PATCH 3/4] kernelbase: Use ioctl for WriteConsoleInputW implementation.