src/common.[ch]: Add the ssnprintf_alloc() function.