[tests] remove unused 'str' variable

 testglxqueryversion.c: In function 'main':
 testglxqueryversion.c:39:17: warning: unused variable 'str' [-Wunused-variable]

Signed-off-by: Aaron Plattner <aplattner@nvidia.com>