Update core/src/main/java/com/orientechnologies/orient/core/metadata/security/ORole.java

add protection if mode is illegal format