[PATCH v2 12/14] kstack_erase: Support Clang stack depth tracking