[package] common.sh: mount procfs before checking core count