recovery: match API to AOSP

Change-Id: I96e910e1fdb27027c775431de27364b70b83865f
See: http://review.cyanogenmod.org/#/c/52047/
Merge https://github.com/Team-Hydra/android_device_htc_pyramid into cm-10.2