Add segmented stack support for DragonFlyBSD.

Patch by Michael Neumann.