A man has died after he was found bleeding and unconscious on a train platform in Perth.