add missing newlines
fix buffer overflow while copying opt_passchar to passdisp

Since the value i + j had not been checked, something bad may happen when opt_passchar is very long.

ref: https://github.com/benruijl/sflock/commit/e51360b4d44d2d07452c70c49ca44171569ed083