Set up buffer size for max line length only once in calibrator.hh

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>