ExUtilReadFromStdin: (windows) open stdin in bin mode

fixes input/decode from stdin in the examples

(cherry picked from commit a6140194ff28bafbc4a2b5804c923c7e5aa52163)

Change-Id: Ie8052da758a9ef64477501b709408236d258da82
diff --git a/examples/example_util.c b/examples/example_util.c
index 4443f83..5e34f30 100644
--- a/examples/example_util.c
+++ b/examples/example_util.c
@@ -46,6 +46,8 @@
   *data = NULL;
   *data_size = 0;
 
+  if (!ExUtilSetBinaryMode(stdin)) return 0;
+
   while (!feof(stdin)) {
     // We double the buffer size each time and read as much as possible.
     const size_t extra_size = (max_size == 0) ? kBlockSize : max_size;