On the role of frustration in the energy landscapes of allosteric proteins