[html5]Image.__isJPG/__isPNG/__isGIF function fix

I revised a problem of "issues#266" and "https://muut.com/i/openfl/bugs:html5-bitmapdata-loadbytes".
By this correction, Loader.loadBytes() comes to work in html5 target normally.