security-manager: Fix build error that causes gcc v7.0