Perhaps you can call a script to do this with the AFNI format as intermediate step. I don't remember what all the issues were, but there was some difficulty to allow adwarp to use NIFTI output though it does allow NIFTI input for the data parent dataset.