gcc14: continue dangling-reference workaround

The latest yocto is moving to gcc14 and the workaround to ignore
dangling references is still needed with gcc14.

Tested:
- Confirmed phosphor-power builds with latest yocto rebase

Change-Id: I900cb11d66730a74bb5860769214dfa93f83a40d
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/phosphor-power-sequencer/src/config_file_parser.hpp b/phosphor-power-sequencer/src/config_file_parser.hpp
index 77d9650..fef3f53 100644
--- a/phosphor-power-sequencer/src/config_file_parser.hpp
+++ b/phosphor-power-sequencer/src/config_file_parser.hpp
@@ -86,7 +86,7 @@
  * @param property property name
  */
 #pragma GCC diagnostic push
-#if __GNUC__ == 13
+#if __GNUC__ >= 13
 #pragma GCC diagnostic ignored "-Wdangling-reference"
 #endif
 inline const nlohmann::json& getRequiredProperty(const nlohmann::json& element,