Fix up incorrect usage of sizeof

In
void whatever(u8 x[20])
sizeof(x) returns the size of a u8* pointer, not (as the code
here would expect) 20...

Change-Id: I5a96b2648499f7203b8cc7666849ff80d0019c2d
Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkranzer@linaro.org>
sensors_adsp: fix use of sizeof

 - derefference until a proper fix is worked out

Change-Id: I766ccc4187b2cc03f0ee7e427b9cc1db88b4c6e1
Add 2 warnings to allow the build to succeed with gcc 4.8

gcc 4.8 creates some additional, apparently harmless, warnings,
causing the build to fail unless they're allowed here.

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