Some components (the timer thread used by the codec handlers in particular) may hold references to components owned by the codeclib (the .so handles in particular). Move codeclib cleanup towards the end. Change-Id: Ic581588c27b69c025576c14a69e999c9ca5d1597 (cherry picked from commitmr12.5.143cc9cc06d) (cherry picked from commit6e49850351)