disable RD_TAGS and fix cpuidle
picked from http://review.cyanogenmod.org/#/c/33021/