normally you can not upgrade from a x86 to x64. when changing archs, you usually do a fresh install...however, you can do the following.
stop all openfire services and create a fresh backup
uninstall 4.1.6 x64 and reinstall. while reinstalling, change the install folder/path to match the path of the current x86 install folder.