D3DState: Compare to m_pending instead of m_current in the setters.

Fixes unintentional behaviour when a setter is called twice before the state is applied, see https://github.com/dolphin-emu/dolphin/pull/1503#discussion_r21789224.