KVM: Use ARRAY_SIZE macro instead of manual calculation.