Fail if JAVA_OPTS configures memory

Previously, a user could configure memory regions using the preferred
JRE method, or using JAVA_OPTS directly.  Configuring the memory via
JAVA_OPTS bypassed the balancing calculations done in the JRE memory
heuristics and caused problems.  This change causes the JAVA_OPTS
framework to raise an error if a user tries to configure the memory
regions there, and directs them to use the JRE configuration instead.

[#52684917]
Merge 52684917-exclude-memory-settings to master

[Completes #52684917]