In his new memoir the star of such hit TV series as “Magnum, P.I.” and “Blue Bloods” writes of the serendipity that launched his career.