procfs: fix /proc/<pid>/maps heap check