stack-trace: Fix compilation errors on older BSD systems. * m4/stack-trace.m4 (gl_STACK_TRACE_EARLY): Test whether we can link with libexecinfo before modifying LIBS.