NIFTI1: fix handling of qfac = -1 cases in the qform write-out

Addresses issue #94. Feedback welcome.