nv50/ir: optimize IMAD to SHLADD in presence of power of 2