Revert back to `ps` fallback

The mem_type_for_linux method now safeguards against returning 'pss'
when linux? returns true to prevent `ps` from breaking.

Also moved some things to constants and added a safety check in
linux_memory to return nil (thus falling back to ps_memory) if
mem_type_for_linux is unable to map mem_type properly.