c/conffiles: strip whitespace like dpkg

dpkg strips whitespace from the right hand side of each line in the
"conffiles" control file.  Update the check to emulate this behaviour.

This also fixes a regression in the previous for "whitespace only"
lines.

Signed-off-by: Niels Thykier <niels@thykier.net>