dri1: Add a macro to validate two dri drawables in one go.