Limit the Roundcube preference update to the selected user and prevent serialized preferences from instantiating classes.
This ports PR #1133 with PHP 7.4 compatibility and validates the script arguments before accessing them.
Refs #1128
Thanks @TrapoAMA