simd.h fix a couple spots that needed casting.
Fixes #952