Checking parameters for glUniform API

Currently, the family glUniform API in guest OS do not check
enough, it lead many issues in dEQP test. So we must check input
parameters and rewrite functuion here. After modified, we can pass
ten tests in dEQP.

Change-Id: I0b40628f42410b526d46114494e549697389bd7d
Signed-off-by: Lizhe Liu <lizhe.liu@intel.com>
2 files changed