Prevent badarith when memory is unavailable.

When a node becomes reachable directly after starting and memsup is
still starting, memory can be unavailable.  Prevent this computation
until it's available, avoding crashing webmachine with a badarith.