generic: test MADV_POPULATE_READ with IO errors