FormatMessage FFI fixes

Fix a number of issues including

- FFI definitions for FormatMessage on x64
- FFI memory releasing block form for the 1024 byte buffer
- Security Issue with reading string buffer filled by FormatMessage
- Bug in fallback code path within ole_error
- Define readable constants for flags used in FormatMessage