arm: Add Viterbi implementation