Merge pull request #5033 from gilles-peskine-arm/all.sh-makeflags-nproc-2.x

Backport 2.x: Limit make parallelism to the number of CPUs in all.sh