benchmarking script: fix sed command

In case of the Lennard-Jones benchmark, the line "number of particles" is
printed twice to the log file due to a missing logger prefix of the particle
module. Modifying the sed command to terminate after the first match fixes the
issue and completes commit:843fd9b.