The new pontiff expressed solidarity with journalists who had been jailed for "reporting the truth".