Photonuclear cross sections of three-nucleon systems and the role of three-nucleon forces