More than half a million patients in Northern Ireland are waiting for a first consultant-led outpatient appointment, latest statistics have shown.