Fail function getvalues on unqualified reference with non-promise caller
Bufferize function getfields, fix leak
Fail function getfields on unqualified reference with non-promise caller
Fail function maparray if not called from a promise.

Needs a bundle to put variables in.
Fail function mergedata on unqualified reference with non-promise caller
Fail function selectservers on unqualified reference with non-promise caller
Function 'datatype' does not need to parse variable reference from bundle context
Function 'nth' does not need to parse variable reference from bundle context
Function 'format' does not need to parse variable reference from bundle context
Fail function 'regextract' on unqualified reference with non-promise caller
Function 'storejson' does not need to parse variable reference from bundle context
Fail functions 'readarray', 'parsearray', 'ldaparray' on non-promise callers
Only check EvalContextPromiseIsActive on function call if called from promise

Close #4068