[analyzer] scan-build: emit errors on stderr, and exit(1) instead of exit(0).

PR14963