zfs: Revert "ZFS_IOC_COUNT_FILLED does unnecessary txg_wait_synced()"
This reverts commit 519851122b1703b8445ec17bc89b347cea965bb9.
It results in data corruption, see:
https://github.com/openzfs/zfs/issues/14753
Sponsored by: Rubicon Communications, LLC ("Netgate")