greeter: Handle const qualification differences between Solaris & Linux PAM
Solaris does not specify const
on the first argument to PAM conversation
functions, nor the third argument to pam_get_item()
. Linux PAM does both.
Also constifies value
argument to SetValue()
to avoid introducing a new -Wdiscarded-qualifier
warning.
Cc: @kloczek