Audit zap cursor usage and correct missing calls to zap_cursor_fini().

In most cases, users of zap_cursor_init() returned early before they
would have called zap_cursor_fini().

Submitted by:	Justin Gibbs <justing@spectralogic.com>