It doesn't currently - but it should be fairly trivial to change the init function to accept functions to read ports and then just pass them through to the AY8910InitYM calls.
For example,
Instead of this;
AY8910InitYM(i, nClockFrequency, nBurnYM2203SoundRate, NULL, NULL, NULL, NULL, BurnAY8910UpdateRequest);
You could use;
AY8910InitYM(i, nClockFrequency, nBurnYM2203SoundRate, PortARead, PortBRead, PortAWrite, PortBWrite, BurnAY8910UpdateRequest);
where PortARead, PortBRead, PortAWrite, PortBWrite are passed via the BurnYM2203 init function.