Partially roll back r202915.

I did not intend to cast a pointer to ulittle32_t there because the return
type is const void*.