Several fixes for Android mk file

* fix path to CUDA libraries (use `targets/armv7-linux-androideabi/lib`)
* save previous values of `LOCAL_*` variables and restore them at the end