Add `#[fixed_stack_segment] #[inline(never)]` attributes

This is now needed by any function using the ffi.