Remove the check on path length over 18980 in Cairo backend

Follow-up of PR#3119