Allow SIMD types in generics. Closes #10604

Note that it still doesn't allow generic types to be marked with #[simd].