Fix a serious qform bug in vtkNIFTIWriter.

When the quaternion was computed from the VTK matrix, there was
no check to see if the first element was negative.  As a result,
when the first element was discarded, its sign was lost.  This
caused the qform to be interpreted as its own conjugate, i.e., inverse.