Three teenage migrants were charged in a Maltese court on Saturday with hijacking a small commercial tanker that had rescued them and others off the coast of Libya.