shell: Relax /proc/meminfo regexp.

Fixes #1242
Closes #1275
Reviewed-by: Stef Walter <stefw@redhat.com>