Redmine#5709: on Windows, set mem_free and mem_total to 0

(cherry picked from commit d44523e7427383880aece4b182d9a6a59a066909)