[PATCH 2/5] wined3d: Check the actual device limit in wined3d_stateblock_set_*s_consts_f().