ASRock lists 5800X3D support on that board with bios version P4.30 and you’re running P10.31 which is much newer, so you should have no issue swapping over.