make arm register definition consistent with rt

It seems to fix #6231.