Fix backtrace functions for newest vapi 0.26, add attach_gdb property