Check whether we can use snprintf in our asprintf implementation.