Make it possible for KTextEditor to build on Android NDK's gcc 4.9
Summary: log2 and std::rename aren't available there.
Reviewers: Frameworks, cullmann
Reviewed By: cullmann
Subscribers: cullmann
Tags: Kate, Frameworks
Differential Revision: https://phabricator.kde.org/D11941