e2fsprogs: Add hacks to make it build with clang

Some harmless but fairly ugly hacks to make it build with clang

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