Connecting a graphical LCD via a I2C using a 16-bit port expander

I'm not sure what you mean by that. You are replacing one chip by two chips? Surely that involves a hardware change.

So you need to modify both.