scripts: add script for translating stack dump function offsets