A prescription drug which has been linked to dozens of deaths in Northern Ireland is now being treated as a class C drug.