[asan] refactor the use-after-return API so that the size class is computed at compile time instead of at run-time. llvm part