A note on the Ewald-Oseen extinction theorem