Responsibility for the Slapi_Mod is transferred to the Slapi_Mods.
This function must not be used on a Slapi_Mods initialized with slapi_mods_init_byref().