CONFIGURE: Add option for building on RAM-constrained platforms eg. RPi.

If enabled, this option passes flags to the linker to reduce the
RAM required to build. Without this, the linker caches all the
object symbols into memory for build speed, but this can trigger
Out Of Memory on swapless platforms with limited RAM.