v.22.1Bug Fix

Fix segfault in Apache Arrow format due to Dictionary type in schema

Fix segfault in Apache Arrow format if schema contains Dictionary type. Closes #33507. #33529 (Kruglov Pavel).