[TASK] Add cache coherency for shared memory regions

Add target independent cache handling macros for
flushing and invalidating cache in circular buffer and
triple buffer region, to maintain cache coherency