Standards.EXIF: Support rationals with a zero denominator.

The denominator may be zero to indicate infinites.

Fixes [bug 6729].