openssd: move bio free to omit if

Just put it in the end_write_bio function, instead of checking for
write.