KVM: MMU: use slot_handle_level and its helper to clean up the code