A comparison of gyrochronological and isochronal age estimates for transiting exoplanet host stars