Fix the other snprintf in rlm_sqlcounter. Closes #498