The spectral energy distribution of PKS 2004–447: a compact steep-spectrum source and possible radio-loud narrow-line Seyfert 1 galaxy