arm: hevcdsp: Avoid using macro expansion counters