ext4: replace opencoded i_writecount usage with inode_is_open_for_write()