An abbreviation of the term "Gangsta Rap Made Me Do It", originating from Ice Cube's song of the same name. It essentially means "My bad, it wasn't my fault."
Paul: Ow! Why'd you slap me with your cock, then call me gay?
Jim: GRMMDI, dude.
Paul: Oh. We cool.