v.23.11Build/Testing/Packaging Improvement

Fix continuous rebuild of non-essential Apache Arrow files in ClickHouse

Certain files of "Apache Arrow" library (which we use only for non-essential things like parsing the arrow format) were rebuilt all the time regardless of the build cache. This is fixed. #56657 (Alexey Milovidov).