ENH fix astype usage to prevent copying

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

Also some C integer type fixes to gradient boosting.