[scudo] Modify wrapper test to handle different configs. (#240642) If enabling only a few of the AbortOnDeallocXXX flags, the wrappers test would fail. Therefore, seperate out the different checks so that it's possible to only test the values that are enabled. In addition, remove the setting of the defines for Android. Use the build system to set any necessary flags. GitOrigin-RevId: 3be6acf51411eb8f6f906f1c7a2f5d10c4fedbd5