setfsgid, setfsuid: clean up and 16-bit version fixes

Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
Signed-off-by: Cyril Hrubis <chrubis@suse.cz>