(bug 31588, sort of) Jpeg metadata code wasn't handling padding bytes properly.