C 5.6: skip undefined 5.6 API: PL_threadhook, PerlIO_destruct, my_curse

but 5.6 B::C still broken (regression)
C: move PerlIO_destruct before our global destruction

and more minor harmonizations