On the Höpf boundary lemma for singular semilinear elliptic equations