CMake: Fix build with unversion_libname configuration

Ia8897ca7 removed the version for shared libs on Android. This
change updates the generated CMake files to support that.

Change-Id: Ia6ef04872c664bd4c31546456a82730babed2910