Minor code beautification of device.c

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
ipc_stress test disabled

The test hangs on many platforms. Disabling it temporarily to
see whether other tests succeed.

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Merge remote-tracking branch 'upstream/master'