[PATCH 5.9 183/252] libfs: fix error cast of negative value in simple_attr_write()