[simd] Fix some problems exposed by the corefx test suite. (#4531)