[PATCH openEuler-5.10 54/87] tracing/osnoise: Remove STACKTRACE ifdefs from inside functions