Simple approximation to continuum random phase approximation (RPA): Application to the giant dipole resonance in 16O