simd.h fix a couple spots that needed casting.
Fixes #952
Fix compiler warning about uninitialized variable