Core/RBAC: Fix rare NULL dereference

Fix a rare NULL dereference happening if 'rbac_default_permissions' table has secId "255" as first row.