Fix priority detection issue with syslog input

This seems to have broke in the v1.2.1 release when the grok filter stopped returning an array for the priority field.