NF: copy extensions between nifti type headers

Nifti extensions are compatible between types; copy references to them
when converting from one nifti image type to another.