argv-array: fix bogus cast when freeing array