blk: clear error flag when setting zero flag

Ref: pmem/issues#4
Merge pull request #40 from plebioda/btt-clear-error-flag-when-setting-zero-flag

blk: clear error flag when setting zero flag