I grew up in a family of programmers. Both of my parents were CS majors. My uncles were all CS majors. Their children are also all CS majors. Its common consensus in the family that employers don't give two shits about GPA in college. Just do what you have to do to get started in the real world so you can demonstrate that you're worth something to future employers. What you've worked on matters a lot more than grades. I say just graduate with mediocre grades.
Working with programmers, I agree with you. However, if you ever want to change fields, it's a different story altogether.