Improve memory allocation error handling on WinCE.

FossilOrigin-Name: 09dfc0c915ec2f0c5f633a3485d47cad15eec4dc
3 files changed