dmq_usrloc: init vars earlier to avoid invalid value cleanup on error handling