avcodec/aacps: Check border_position to be monotone