[TableGen] Simplify some code slightly. No need to check if the arrays are empty...