Make ZVOL writes in device mode support IO_SYNC flag.

MFC after:	1 month

(cherry picked from commit 7797473e53b8c3ee6bd6692fdc9210ec96d2cb14)