Mark getRawBits const.

Patch by Tyler Nowicki.