wakeup_reason: use vsnprintf instead of snsprintf for vargs.