French police have detained a woman at a hospital in Dunkirk after she made a bomb threat and sparked a security scare.