Add functions to access errno/GetLastError
Memory: Fix cywin memory data initialization issue