Fix broadcast pattern of dnn conv op.

fix gh-2296
This breaks for python 3, even after 2to3, because `c` is not defined outside of the list comprehension.