message: restore getValidatedMemoryOffsetRange to upstream
  We no longer indirectly call getValidatedMemoryOffsetRange. Restore it to upstream for easier merges in future
diff: @@ -134,11 +134,10 @@ namespace Runtime
  U8* getValidatedMemoryOffsetRange(MemoryInstance* memory,Uptr offset,Uptr numBytes)
  {
  - if(!memory)
  - causeException(Exception::Cause::accessViolation);
  // Validate that the range [offset..offset+numBytes) is contained by the memory's reserved pages.
  U8* address = memory->baseAddress + offset;
  - if( address < memory->reservedBaseAddress
  + if( !memory
  + || address < memory->reservedBaseAddress
  || address + numBytes < address
  || address + numBytes >= memory->reservedBaseAddress + (memory->reservedNumPlatformPages << Platform::getPageSizeLog2()))
  {
  