The permission of the created logfile were not possible to customize as
they were hardcoded inside pw_log() function.
Add a new field logmode in the userconf struct to expose a new
configuration keyword in pw.conf, it will make possible to tweak the mode
of the logfile created when invoking pw(8).
PR: 216897