It is a risky move to evoke a sinking ship: If the play falls short, the wisecracks practically write themselves. But this “Hamlet” — directed by Rupert Goold and running at the Royal ...