Update CMakeLists.txt to remove the endif related to gcc48

1 job for S29r2p2_cache in 26 seconds (queued for 1 second)
Status Name Job ID Coverage
  Test
passed check-copyright #13352558

00:00:26