Heaps must be invalidated before returning allocation to the pool.
Pipeline can be blocked by any outstanding events, so there is no need to
wait for the state cache flush completion. In case heap allocation is not
ready after state cache flush, command list will create new allocation and
eventually driver will reach state state of heap allocation reuse.
Related-To: NEO-7963
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>