libexif: Fix read buffer overflow am: 127f882f67

Change-Id: Idf86162a5fcde8e9489e3b1e360562e060662067