images: Fix regex for `syntax=` line

The magic `# syntax=` line can have spaces (or not) between `#` and
`syntax` and the equals signs.
5 jobs for review/fix-syntax-line-pattern in 11 seconds (queued for 4 seconds)