v.22.6Bug Fix

Fix heap-use-after-free error in system.projection_parts and system.projection_parts_columns

Fix possible heap-use-after-free error when reading system.projection_parts and system.projection_parts_columns . This fixes #37184. #37185 (Amos Bird).