mapper: Change volume state to OPENING earlier

Mark volume as opening before starting open procedure. This implicitly marks the
volume as not ready, so if the open procedure blocks for any reason (e.g. there
are no available xseg reqeusts), then any subsequent operations on the same
volume will have to wait until the volume becomes ready.
mapper: Fix count of map nodes when preparing I/O