Undo the change to make CheckDiskSpace static.

CheckDiskSpace is used also in init.cpp, so can't make it static.