Pull srec from linaro branches

It fixes building with clang

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