vfs: call vn_truncate_locked from kern_truncate
This fixes a bug where the syscall would not bump writecount.
PR: 263999