Fix error processing.
- Don't forget to set SERR on slbexpand() error.
- Check for fgetwc() errors using errno. Don't check for SERR
as PR suggested, it user-visible flag which can stick from previous
functions and stdio code don't check it for this purpose.
PR: 212033
MFC after: 3 days