Add workarounds for clang bug

Without this, clang errors out complaining about undefined references.
Chances are the functions are not built into the object file (because
they're marked inline) but end up being called rather than inlined
anyway.

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