stackcheck: Fixed caller function detection