Former Brazilian president thanks Pope Francis for supporting him throughout his legal ordeal, which surrounded now-overturned charges of corruption