Move confess_at() to utils.cpp
Use a general-purpose T_ARRAYREF_PTR typemap