releasetools: use set_metadata instead of set_perm

Change-Id: I1eda9dd7c1b1497fde1ae57596329193901947a2
Merge branch 'cm-11.0' of https://github.com/CyanogenMod/android_device_sony_rhine-common into android-4.4_new