Core/Scripts: Changed GetGUID/SetGUID script hooks to operate on ObjectGuid class

Fixed compile for boss scripts starting with letters B, C and D