Fix SWIG's handling of qualified (e.g. const) variables of array type