Origin of meteoritic stardust unveiled by a revised proton-capture rate of 17O