Add "const" to a bunch of arrfunc prototypes that needed it