A rapid blood test could speed treatment for people who have suffered a stroke related to brain bleeding, a new study says.