lang/spidermonkey128 lang/spidermonkey140: fix hinted mmap under ASLR
Backport Mozilla bug 1876632: map the GC chunks with MAP_ALIGNED on
FreeBSD. Without it ASLR moves every hinted mapping by a random number
of pages, so SpiderMonkey retries each chunk about 256 times and, on a
48-bit address space where it has no fallback, gjs dies at startup every
now and then with "Couldn't allocate even after 1000 tries!".
Approved by: portmgr (blanket)
lang/spidermonkey140: fix build with Python 3.14+ (+)
AttributeError: module 'ast' has no attribute 'Str'
Python have deprecated ast.Str, ast.Num, ast.Bytes since 3.8 and dropped they
out in 3.14
Use ast.Constant instead
Reported by: bulk -t
Approved by: portmgr blanket (fix build)