Makefile.w32: using $(GREP) inside VERSION

also use := instead of = for VERSION assignment, since that evaluates the VERSION only once