desktop files: handle desktop.in in addition to desktop.cmake
For historical reasons only .desktop.in was not handled, but it seems it's more practical to accept it as well then converge to a single suffix.
Use a more compact regex to cover all the desktop.* cases instead of listing them individually (thus shortening the command line).