Use driver.RowsAffected type
Use IndexByte to find string terminator

No performance gain since bytes.Index special cases this anyway, but it means
stringTerm can go away.
Remove stmt.nparams

It was always equal to len(st.paramTyps) and therefore redundant.