wined3d: Properly check for transformed position in buffer_check_attribute().