Revert "a code piece is moved to a more narrow context"

This reverts commit ee7f874876fecb609320288c2ec5cd22bfb9e7be.

	modified:   src/cpu/primitive.h
Revert "Int32Base::toBytes is optimised when source and destination endianness are equal"

This reverts commit 91946daba7fd7ed6a9398119e716b04b8cc59124.

	modified:   src/cpu/primitive.h