I haven't used GIMP in quite awhile but couldn't you;

1) select the river layer
2) switch to the forest layer
3) "delete" the selection from the forest layer

that should give you the rivers 'path' thru the forests (I think )