On nuclear dependence of direct photon production