Mutation-based Consistency Testing for Evaluating the Code Understanding Capability of LLMs