ext_external_objects: Use dedicated allocations when required.
The driver can specify that dedicated allocations are required. If that is the case we have to allocate them with an extra struct, and also import the memory object with a parameter set.