Codec2 components: Updated to build both static and shared libray

All components inside components folder of Codec2 have been updated to
build both static and shared libray

Test: mmm frameworks/av/media/codec2/components
Bug: 173672402

Change-Id: I131d585aa745b53b7c769b7bcb7a0545dc74325b
18 files changed