ar71xx: add sanity checks to decode_rle