Add limit checks for exif-rotation

Break if ifd-count is greater than 100 because there only exist about
118 different tags whereby about 20 are specific to special hardware.
Also break if there are more than 5 ifd-regions because there shouldn't
be any more...
Merge pull request #222 from Ben-Ho/3.7-exif-limit

Add limit checks for exif-rotation