KateFileTree: tweak close button handling
Hide/show the column if the close button is hidden/shown, instead of setting size to 1.
Use QHeaderView::ResizeToContents, which is like Fixed, but without having to hardcode the icon size.
Remove check for header() pointer, QTreeView has a header by default, and other parts of the code don't check for header().