correcting IoMode check for SEEK_AND_WRITE

as discussed in ticket #8105 this corrects the IoMode check for the SEEK_AND_WRITE command in the dcap module