Trent Reznor wanted his drummer to play like Dave Grohl on their 2005 album, so he got the Foo Fighter frontman stop by the studio instead