On the Security Risks of Knowledge Graph Reasoning