Update CActiveFinder.php

Fixes issue #2201 - Cannot use "having" in a CDbCriteria to count AR model values (results in SQL error)

Adds the missing "params" array from the query object.