hw/386: Add EPYC mode topology decoding functions