Fix a few const.
Pointers too.
Merge pull request #222 from pleroy/Const

Fix a few misplaced const.