simplify Py version checks in arrayarray.h