kvargs: add const attribute in handler parameters