Replace flowtable/gentable checksum XOR operations with add/subtract

Reviewer: @kenchiang

This was changed in Indigo recently.