Fix EZP-21396: exif Warning in php 5.3.3 Rhel

closes #710