Use cl_info_scalar/array macros in platforms/devices test