I've never attacked from that position before, but I have attacked a city from the position of that destroyer, and had the river penalty applied to my land units (in addition to the amphibious assault penalty).
I'd definitely call it a bug, especially in your case.