[PATCH v3 11/13] kstack_erase: Support Clang stack depth tracking