fix mq_open() return value