If you don’t want to manually update NGG, you can just call the $ngg->define_tables(); after a switch_to_blog or restore_current_blog command. This way, if you update NGG you won’t lose your bugfix.
This is something that the NGG guys should fix, some day.