Update frameworks/base to new compiler filters.

Also fix a merge issue with duplicated code.

bug:34715556
Test: build and boot aosp bullhead

(cherry picked from commit be7b0d18a7d68aa79dc8256ee904f0a94767d5d9)

Change-Id: I2c716427ac10090a694ce933421e4924748b0c71
4 files changed