[PATCH 6.12 144/184] loop: Add sanity check for read/write_iter