table.py: fix issue when specifying both column header text and color

Row offset in table construction function was missed in case of specifying both text and color for column headers,
so the first data row was overwritten by the header row.