D3DState: Always update the m_pending members in the setters.

Fixes unintentional behaviour when a setter is called twice before the state is applied.
D3DState: Set the pixel shader in m_current when linking dynamically.
Merge pull request #1695 from Armada651/stateman-setters

D3DState: Always update the m_pending members in the setters.