MDL-42441 modules: Remove unnecessary code when creating the module in D&D

property groupmodelink is not used at all and groupmode is already processed properly in core functions (respecting groupmodeforce property in course). This looks like old code that has not been updated. It's a shame we duplicate module creation login in draganddrop library