Revert "frameworks/native: Fix build in ISO C++11 mode"

This reverts commit 425cdf71109848c4670466f75fc74670a5eb93d6.