TMXR: Correct const attributes for packet reading APIs.