buildsystem: use CMake to build libmla.so (medialibrary)
This is easier to integrate with Gradle since we can add some logic in the CMake file.
For now it's only switching from ndk-build to cmake. More to come when !2254 is updated. This standalone verifies that this commit alone does the switch properly.