Revert "When generating intermediate or dialect specific temporary file names, only append a prefix derived from the source file name extension in the uncommon case where we are compiling a Prolog source file as Logtalk code"

This reverts commit 1802ff40cdbad04ae0a8810c324a31a13d57f7af.