Ensure kernel dimensions are Python integers.

NumPy integers contain a .data member which can break some
parts of PyFR.