Remove unused function from niftitodicom.