[RT #92738] improve XS for i_io_read()/i_io_raw_read()

Previously it would call sv_setpvn() which did all the right things,
but we can avoid the sv_utf8_downgrade() and some of the other work
done by sv_setpvn() with the new code.
[rt #93272] use absolute paths for plugins on android
update Changes for recent commits