Competing cubic and uniaxial anisotropies on the energy barrier distribution of interacting magnetic nanoparticles