[boot] Check PC for dead loops