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

This reverts commit 10604eeec649b6dce9008370d55d0f1f17f9f27f.