Codec2: move allocators to the platform allocator store

Also change allocator store to create allocators by ID vs type.

Bug: 64121714
Test: unittest
Change-Id: I5f8954d66ea575bea87a3bae5f5c536f17982ae8
6 files changed