Add missing RandomStateType.may_share_memory.