[PATCH 4.19 65/91] libfs: fix error cast of negative value in simple_attr_write()