Fixed bug in Effect.cpp where glGetActiveUniform is called with a wrong parameter

Fixed bug in Effect.cpp where the OpenGL function glGetActiveUniform is called with a wrong parameter, causing an assertion failure on some graphic cards.