[PATCH 5.7 171/393] drm/radeon: fix array out-of-bounds read and write issues