advfs: Include <sys/rwlock.h> for krwlock_t
advfs: Fix typo rwlock_t -> krwlock_t
advfs: Fix prototype ftx_init() -> ftx_init(void)