Remove all use of the obsolete IMMEDIATE parameter to configure_file

It's not documented, and it does nothing unless CMake 2.0 compatibility is enabled (and it isn't):

https://github.com/Kitware/CMake/blob/v2.6.0/Source/cmConfigureFileCommand.cxx