getting stopped for a busted light would be pretty crappy...
that's why I have two spare of every bulb... if an officer ever stopped me, I'd tell them I was unaware of that, and ask nicely if they could use their headlamps to shine me some light whilst I changed them.
That said, I've seen some pretty desperate cops before, I've known someone get busted cause they were pulled over, and somewhere in checking everything about the cars road worthiness they found that the screen wash was low, and wrote up a ticket for that!