Move speculative inserion catalog check into nodeModifyTable.c

This seems to respect modularity better.