ReadImageDirectory doesn't check there is sufficient space for numberOfTags in the read buffer
