There is a bug in the current implementation related to overflow with SIZE_T_MAX maxlen.
For now, exclude the implementation from the build until the bug is fixed
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293296
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293353