VS2010 build: Prepare findnonce.c

Cherry-picked by veox.