fix(makefile): harden clean worktree check (#6702)
Make check-diff capture porcelain status once,
and fail when git status itself errors (no text in stdout, only stderr).
In that case, stdout empty test is passing, which should not.
Signed-off-by: Jean-Philippe Evrard <jean-philippe.evrard+rochepub@external.roche.com>