Add the necessary sanitizer interface decls required when the memprof runtime is built in dynamic mode. This was a latent issue since we didn't add tests for the histogram feature in compiler-rt. These tests are run with `ninja check-memprof-dynamic`. I discovered this after the CI failures for #147854.