move totals row from `tbody` to `tfoot` (for 4.3)

As mentioned here: https://github.com/atk4/atk4/pull/547