Revert "Revert "Second try at adding a compatibility symbol for the MemoryBase constructor.""

This reverts commit 2dccfdcd265ca86cca5ac863d921e5c647b93073.