configure: simplify pandoc version recognition.

The version recognition was failing for version 1.11, thinking the
minor version was 1 rather than 11.