Camera: Maintain reference to shared camera library for the
 Snapshot Thread

A reference to libqcamera.so is maintained for the duration of the Snapshot thread as LINK_jpeg_encoder_join
should be executed only for the lifetime of this object.

Change-Id: I398c7b6b84f109b1b36976a6bc0f31000b4408a1