Fixed up header guards.

These were previously using names reserved by the standard. Also, took
the opportunity to make prefix usage consistent.