syscalls: sprinkle in const values
Add missing const qualifiers to a number of syscall arguments.
Obtained from: CheriBSD
Reviewed by: kevans