Remove incorrect and unused casts from tp_free calls

Arguments to Py_TYPE() do not need to be cast since the macro always casts
to a PyObject* internall.
tests: Fix Python 2 build for newly added test_array_parm()

Use @unittest.skip() with a string argument as required by Python 2.