VS2010 build: Prepare hexdump.c

Cherry-picked by veox.
VS2010 build: Prepare miner.h

Cherry-picked by veox.
VS2010 build: Prepare ocl.c

Cherry-picked by veox.
VS2010 build: Prepare scrypt.c

Cherry-picked by veox.
VS2010 build: Prepare util.c

Cherry-picked by veox.
VS2010 build: commit elist.h and relevant changes in sgminer.c and util.c

Cherry-picked by veox.

Introduces a segfault. Expect a HEAD reset.