Magellano, Pigafetta e il diario segreto