Remove accidentally added const for plain non-pointer function parameters

This was accidentally added in 61117c85 when the pointer
parameters were made const.
Merge pull request #143 from mstorsjo/remove-accidental-const

Remove accidentally added const for plain non-pointer function parameters