oss_audio: use a macro to simplify ioctl() error checking