variablespeed: Fix aliasing violation

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