Magnetization instabilities due to spin Hall effect described by a nonequilibrium thermodynamic approach