svga: add have_sm4_1 flag, helper function