Coming back to this with what seems to be complete solution -- simply
default autotrim to 'off' and remove any FreeBSD-specific defines here.
As it turns out having autotrim default to 'on' on FreeBSD never really
worked due to mess with defines where userland and kernel module were
getting different default values (userland was defaulting to 'off',
module was thinking it's 'on').
PR: 264234