This is not a risk for HIV. People really only get HIV from having unprotected vaginal or anal intercourse (penetrating) or sharing IV drug needles. Even with a sore on your scrotum that was bleeding, you aren't going to get HIV. Air inactivates the virus. You didn't penetrate and the head of your penis was covered anyway, so you had zero risk.