[PATCH 4.4 25/38] libfs: fix error cast of negative value in simple_attr_write()