util: replace format equality test with compatibility test in blit code