hevc: C code update for new motion compensation