Aliasing fixes from linaro.

variablespeed: Fix aliasing violation

Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
Change-Id: Ic62c65b41e83f556ce228c3f724433ebace58168

ex: Fix mismatch between header and implementation

The header defines GetChannelCount() as returning a size_t while
the implementation defines it as returning a SLuint32.

Change-Id: Iaa837d9a39540c338582496a33a4bbd8e3c63b55
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>