Simplify NativeKeyboard, and only copy the amount of bytes of the output plus null terminator.
Merge pull request #3733 from thedax/simplifyOSKBypass

Win32: Simplify NativeKeyboard(OSK bypass), and speed up the char copy loop.