The Scottish Government will miss its target of dualling the A96 by 2030, the Transport Secretary has announced.