generate_security_bom.py: Use a more generic build suffix regex
While computing the source package version a custom distro suffix is searched in order to trim the build suffix. Since the distro suffix is different in downstreams it does not work properly.
To fix that, use a more generic regex, which should match the one in debhelper.
https://phabricator.apertis.org/T10413
Signed-off-by: Walter Lozano walter.lozano@collabora.com