OK, in this case you can leave NC connected to GND, there is no internal connection.
But keep in mind that the M24C04 has a smaller EEPROM area than the AT24C32E.
If the problem is resolved, please mark this topic as answered by selecting Select as best. This will help other users find that answer faster.
/Peter
In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.