In pg_rewind findLastCheckpoint() there is a buffer size mismatch when
composing a WAL file name. You can't actually overflow the buffer, so
it's harmless, but when playing with compiler annotations, I see this
getting flagged, because it's rather obviously incorrect on some level,
so I think it's worth fixing. See attached patch for details.