v.22.9Bug Fix

Fix memory limit issue during ProcessList query insertion

During insertion of a new query to the ProcessList allocations happen. If we reach the memory limit during these allocations we can not use OvercommitTracker, because ProcessList::mutex is already acquired. Fixes #40611. #40677 (Dmitry Novik).