Molinari secures a Ryder Cup spot as injury forces McGowan to quit