If we are in single-byte locale, characters 128-255 will be negative for char type, and character&BACKSL would incorrectly produce 'true'; cast the character we want to test to unsigned char.
While here, use proper iswalpha() for wint_t argument.
PR: 264275, 274032
Fixes: adeebf4cd47c ("regex(3): Interpret many escaped ordinary...")