database/sql: don't close a driver.Conn until its Stmts are closed

Fixes issue 5046

R=golang-dev, r
CC=golang-dev
https://codereview.appspot.com/8016044