Fix crash in LineLength cop when AllowURI option is enabled

This fixes #1188.