Add os_trim() support for DragonFlyBSD