Fix drush civicrm_sql* functionality for drush version >= 6

see https://issues.civicrm.org/jira/browse/CRM-15567 for the explanation