C 1.43_05: Special-case io_close() on -O3 or B::CC for 5.8 (#303)

add my_io_close to @static_free on 5.8 and blessed filehandles
to close the static file or dir before sv_clean_objs() tries to free the static xpvio.
Fixes testcc 22