debugedit: only check for debugedit if we build a package
We only really need debugedit while building the package, while this
check would run if you tried something like makepkg --verifysource
.
Use the same checks as we have for fakeroot to wrap debugedit so we
don't beg for dependencies we don't need.
Fixes: 3ed08f97
Signed-off-by: Morten Linderud morten@linderud.pw