Pages of "hardcore adult pornography" have been discovered in a children's book published to raise money for charity following a printing error