src: remove unnecessary end of line check

The EOF character alone should determine the end of input during
restore operations.

Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>