Fix make-make.r for backwards compatibility up to at least R3 A111

Explicitly list local variables with /local instead of using FUNCTION
(nee FUNCT). This removes the only dependency of make-make.r on the
"new" FUNCTION behaviour, avoiding an unnecessary circular dependency.
make-make.r can now be run again even with older R3 builds (back to at
least R3 A111).