Reordered _dmt_alloc()'s arguments for consistency

Reordered the arguments for the _dmt_alloc() function to be more
consistent with the other functions.