redmine #2912: readfile and textxform functions do not rely on 4k limit anymore

This is a PoC for discussion on the dev-cfengine list.

- Change allocation in `FnCallTextXform` to be dynamic instead of hammering the stack
- Change limit in `FnCallTextXform` and `FnCallReadFile` to CF_INFINITY

https://dev.cfengine.com/issues/2912
Unfortunately, exiting on 0 length would be a behavior-breaking change. The previous behavior when 0 was passed in was to set the limit to 4k.