Don't build renderqueues test when symbols are not available

Change-Id: I978b27f444f3e897478060ff16b2a0b0dcbfd558
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>