When the user enables shared-memory, we must ensure the linked objects have the 'atomics' and 'bulk-memory' features allowed.