Density results for Sobolev, Besov and Triebel–Lizorkin spaces on rough sets