Fixed a potential NULL pointer dereference in exif_loader_get_buf.