Use the new offset array rather than open coding it. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>