Return consistent values in `File::__get('imageSize')` for GD and SVG images
Merge pull request #7344 from madeyourday/fix/file-image-size