When representing a link field as a long string (.INP$)
we have to pick some size limit for the buffer.
Previously this was the max length of a PV name + 12 chars,
but with JSON links that's not big enough.
This commit sets it to 1KB and defines a macro so it will be
easier to change in the future if necessary.