zfs_putpages: actually update mtime and ctime

Reported by:	Paul Koch <paul.koch@akips.com>
Tested by:	Paul Koch <paul.koch@akips.com>
MFC after:	2 weeks
Removed unused variable and unify some names.