You could modify the Glenfield trigger to work, but I would think that it would be easier to just use the correct size spring. Comparing the two triggers, it looks like you would have to notch the Glenfield trigger out to make it resemble the later model trigger.
Here is a picture of my Glenfield 25, and for comparison, the trigger on my 883.

Glenfield 25
P1010480.JPG

Marlin 883
P1010481.JPG