Physical Layer Security of RIS-Assisted Communications Under Electromagnetic Interference