Ugandan judge survives attempted killing - authorities