Anomalous thermal variation of the bulk anisotropy in GdCo5