Added get_components() method to the texture format

Will be helpful for gfx_graphics to figure out if a texture has alpha channel or not.
cc @bvssvni