pal: Add "Adapted with permission" to all C source files and header files

As agreed with PTW.