Fixed issue #8532: Check for minimum memory available fails if PHP has "memory_limit" equal to -1