afs: Avoid -1 error for vreadUIO/vwriteUIO