Interpret ENOTTY as UnsupportedOperationError instead of ResourceError

The ENOTTY is closer to QSP::UnsupportedOperationError, because it
is decoded as "Inappropriate ioctl for device".

Change-Id: Ibcbe09e201eeb5ede6daa417654a181dd380df5a
Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>