Do not create swap for log or cache devices

ticket: #2136