Correct the logical/physical blocksize properties
Cherry-pick in IllumOS #4873 again

Conflicts:
	module/avl/avl.c
	module/zfs/dbuf.c
	module/zfs/dnode.c
Do not call zil_replaying if zillog or tx are NULL