feat(build) Add support for additional ignores in bin/scan (#12982)
As per some discussion around adding a bin/scan to getsentry this makes
it possible to additional ignored error codes to bin/scan so that we can
re-use this script in other projects.
Refs SEN-550