gles2rice:Add custom res and pos from config file

This is the same as this commit ba4d24fc, but for gles2rice plugin.