ENH fix astype usage to prevent copying

Removed where possible; using copy=False (from utils.fixes) where needed.

Also some C integer type fixes to gradient boosting.