Fix build with clang 3.4

Clang doesn't have __builtin___clear_cache, and currently has a
problem with large alignments (llvm bug #13007).

Change-Id: I2555e9557a687882265a21abbb403082852be830
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>