output: Improve warnings about negative table dimensions.